[pptp-server] Routing problem.

lists at earthling.2y.net lists at earthling.2y.net
Tue Feb 5 18:54:38 CST 2002


/sbin/iptables -t nat -A POSTROUTING -o ippp0 -j SNAT --to $IP

or

/sbin/iptables -t nat -A POSTROUTING -o ippp0 -j MASQUERADE

On Tue, 5
Feb 2002, Oswald Knoppers wrote:

> lists at earthling.2y.net wrote:
> >
> > iptables -L
> >
> > also, tcpdump as a diagnostic utility is invaluable, it is the most
> > important tool to a netadmin when diagnosing a network problem.
> >
> I have now verified that this problem is related to the firewall setup.
> Unfortunally the output op iptables -L doesn't tell me much.
>
> Does anybody have an example script for setting up this kind of
> firewall?
>
> My basic needs are:
>
> >From eth0 to ippp0 -> do NAT
> >From ppp0 to eth0 (and the other way around) -> just route the traffic
>
> And block any unsolicited traffic on ippp0.
>
> Thanks,
>
> Oswald
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --
>

-- 
Justin Kreger, MCP MCSE CCNA
jkreger at earthling.2y.net jwkreger at uncg.edu justin at wss.net





More information about the pptp-server mailing list