My 2 cents,
If your problem can't be solved with DNS and you really need it you can:
1 - put 'routeback' on interfaces to your dmz
2 - put a rule like (see the last parameter):
DNATdmz dmz:10.0.1.100 tcp 7025 - 200.119.222.122
Fabricio Vargas wrote:
> Hi guys
>
> I have a problem s
Thanks to everybody
El mar, 08-04-2008 a las 09:04 -0300, Christian V R Lopes escribió:
> My 2 cents,
>
> If your problem can't be solved with DNS and you really need it you can:
> 1 - put 'routeback' on interfaces to your dmz
> 2 - put a rule like (see the last parameter):
> DNAT dmz dmz:10
.
"Saluton",
Sorry by my poor english, I speak Portuguese.
I does a captive portal using:
- shorewall
- dhcpd
- thttpd (in port 8080)
- maradns
With Shorewall I use dinamic zones.
The initial zone in shorewall is
configured to redirects access to
internal thttpd port 8080, that
shows a login.
.
Sorry,
Now I see... The program "sudo" was not installed.
I create two shell script:
sh_delete.sh
#!/bin/sh
shorewall delete eth2:$1 zone1
shorewall addeth2:$1 zone2
--
sh_add.sh
#!/bin/sh
shorewall delete eth2:$1 zone2
shor