* Re: [gentoo-dev] IP_MASQ
@ 2002-06-24 11:45 99% ` Johannes Findeisen
0 siblings, 0 replies; 1+ results
From: Johannes Findeisen @ 2002-06-24 11:45 UTC (permalink / raw
To: gentoo-dev
hello,
try something like this on your server:
/sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j MASQUERADE
change the ipadress-range to the range you need and change the interface
(ppp0) to your inet interface...
i'm not a firewall expert but this could maybe help you out. else you gave us
not much info... are writing your firewall by yourself??? or are you using a
script from the web???
regards
hanez... ;-)
On Monday 24 June 2002 14:00, Samir Patel wrote:
> I am running server at home with 2 ethernet card - 1
> for my private network and other is to connect to WAN.
> From my server I can go through internet fine, but
> from my client machine, I can not connect to internet.
> Client machine can ping my servers' WAN and LAN card
> but can not ping anything outside. Any leads to
> resolve this problem? (I have turn on ip_formward in proc)
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2002-06-24 12:00 [gentoo-dev] IP_MASQ Samir Patel
2002-06-24 11:45 99% ` Johannes Findeisen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox