1 |
hello, |
2 |
|
3 |
try something like this on your server: |
4 |
|
5 |
/sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j MASQUERADE |
6 |
|
7 |
change the ipadress-range to the range you need and change the interface |
8 |
(ppp0) to your inet interface... |
9 |
|
10 |
i'm not a firewall expert but this could maybe help you out. else you gave us |
11 |
not much info... are writing your firewall by yourself??? or are you using a |
12 |
script from the web??? |
13 |
|
14 |
regards |
15 |
hanez... ;-) |
16 |
|
17 |
On Monday 24 June 2002 14:00, Samir Patel wrote: |
18 |
> I am running server at home with 2 ethernet card - 1 |
19 |
> for my private network and other is to connect to WAN. |
20 |
> From my server I can go through internet fine, but |
21 |
> from my client machine, I can not connect to internet. |
22 |
> Client machine can ping my servers' WAN and LAN card |
23 |
> but can not ping anything outside. Any leads to |
24 |
> resolve this problem? (I have turn on ip_formward in proc) |
25 |
> |
26 |
> __________________________________________________ |
27 |
> Do You Yahoo!? |
28 |
> Yahoo! - Official partner of 2002 FIFA World Cup |
29 |
> http://fifaworldcup.yahoo.com |
30 |
> _______________________________________________ |
31 |
> gentoo-dev mailing list |
32 |
> gentoo-dev@g.o |
33 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |