• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux/Windows Network Question

20_MuleTeam_Borax

Senior member
I setup a network between my linux box and windows box. They can both ping each other w/o a problem. In windows, i setup the linux box as the gateway. IP forwarding is enabled on the linux box. I am running these IPchains commands at startup.

ipchains -A forward -s 192.168.1.0/24 -j MASQ
ipchains -P forward DENY

Why can't my windows box access the internet? I have tried setting the windows box's DNS server as both the linux box and my ISP's DNS server

Any ideas?
 
you didn't supply destination IP address.
The correct syntax would be:

ipchains -A forward -s 192.168.1.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j MASQ

(read: all traffic coming from 192.168.1.0/24 subnet going to anywhere is to be masqueraded).
 
If you restart you reset your settings too 🙂 A UNIX box needs to be rebooted for only two things - additional hardware or a kernel upgrade. That's it. If you boot more it shows that you do not know what you are doing (read: remnants from bulldoze).

OMFG... forgot the echo "1" > /proc/sys/net/ipv4/ip_forward command...


 
I knew i didn't have to restart the machine. I was askign if any network services need to be restarted.

Have any other ideas why this isnt working?
 
Back
Top