Results 1 to 2 of 2
gday,
quick question, does anyone know of a way that i can forward all internal network traffic from a linux server to another one? can this be done with a ...
- 06-25-2009 #1Linux Newbie
- Join Date
- Jul 2005
- Location
- Australia (Down Under)
- Posts
- 141
Forward All Network Traffic To Another Server
gday,
quick question, does anyone know of a way that i can forward all internal network traffic from a linux server to another one? can this be done with a route or iptables or something like that?
cheersLinux is the OS of tomorrow, Here today!!
- 06-25-2009 #2
Yep it can be done. Easiest is on the gateway/router.
You can specify which traffic; by interface, by source IP (or range of source IP's), by port, etc.
Code:/sbin/iptables -t nat -A PREROUTING -i ${lan_interface} -p tcp -s ${range_of_source_ips} \ -j DNAT --to-destination ${destination_ip}Can't tell an OS by it's GUI


Reply With Quote
