I tried using this command:
iptables -t nat -A POSTROUTING -o eth+ -p tcp -s 10.10.0.0/16 \
--destination-port 80 -j SNAT --to-source 10.10.10.1
Where 10.10.0.0 is the LAN and 10.10.10.1 is the linux box that has the webserver running on it. It did not work. It just tries to access the...
One more thing, I need this to make it so that the chain that gets inserted each time the person registers does not require me to restart iptables, etc. There are constantly people registering so I can't have it bring down the internet connection. Thanks again.
Dave
Okay, I kind of understand what you are saying. My php script already does this command when they register:
exec('sudo iptables -I eth0_mac -m mac --mac-source ' . $mac . ' -j RETURN');
Then I also store the MAC address to a file on the server so the chain can be inserted again if I restart...
Ok here is a little background. We have about 400 people on our network and it is routed through a linux box to a DS3 connection. Before they are able to get online, they are required to register their computer and then a php script allows them access once they register their MAC address with...
I keep getting an error when I try to use the remote desktop connection through tsweb. I can access my computer with IIS and get to the http://ipaddressofcomputer/tsweb/ but when i enter the ip address of the server it gives me a page error:
Line: 217
Char: 4
Error: Invalid proceedure call...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.