iptables + routing public subnet to private interface. (Newbee)
Paul Howarth
paul at city-fan.org
Wed Jul 12 14:55:49 UTC 2006
Gregory Machin wrote:
> Hi.
> I have a basic firewall configured, our isp has give us a block of 12
> public ip addresses, I would like to route that subnet form the public
> interface eth0 to the private interface eth1 (a vlan switch ) as a temprory
> soloution until the servers are move to the isp's hosting facilities (I
> want
> to avoid reconfiguring the servers for the move).
> How would I go about this as i have never done more than blocking ports
> with iptables ...
You might find that using a purpose-designed firewall tool like
shorewall is the easiest option here:
http://www.shorewall.net/shorewall_setup_guide.htm
Paul.
More information about the fedora-list
mailing list