Selon Martin Potgieter <[EMAIL PROTECTED]>:
> I know I can use the "Default DMZ server" option in the modem but for
> my purpose it would be alot easier if I could assign the public ip to
> the firewall itself.
> Any help/pointers/feedback will be appreciated.

First, I use this device as a plain modem using pppoe(4) so I cannot confirm the
following.

What you want to achieve is dhcp_spoofing (the modem dials then forwards the
public @IP to your connected interface).

It should work out of the box except if your gateway is not is the same adresse
space as your public @IP (which is often the case with some ISP) in which case
dhclient will refuse to assign the default interface.
Let's say you're modem internal @IP is 192.168.1.1, then after the modem is
connected and you have your public @IP (using dhcp or statically ; here we'll
it give the value of 145.1.2.3), try :

$ route add -net 192.168.1.1 -netmask 255.255.255.255 -interface 145.1.2.3
-cloning
$ route add default 192.168.1.1

Regards,

-- 
Antoine

Reply via email to