Quote:
Originally Posted by
otheus
Ok, in sysctl.conf, you need to set net.ipv4.ip_forward to 1 (also on the command line).
On PC1, you set the default gateway to 81.180.75.70. On PC2 you set the default gatway to 192.168.1.1. That should be it.
thx,
so,
for the config:
server: 1 Card: IP 81.180.75.70
mask 255.255.255.192
2 Card: IP 192.168.1.1
mask 255.255.255.0
1 PC : IP: 81.180.75.73
mask: 255.255.255.192
2 PC : IP: 192.168.1.5
mask 255.255.255.0
the rules are:
1. On server - in sysctl.conf set the net.ipv4.ip_forward to 1
2. On PC1, set the default gateway to 81.180.75.70
On PC2 set the default gateway to 192.168.1.1
3. And on server does I use the comands :
- route add 192.168.1.5 gw 81.180.75.73
- route add 81.180.75.73 gw 192.168.1.5
??
thank you