Random Posts

How To Forward Ports through a Linux Gateway with Iptables | DigitalOcean

iptables -t nat -A POSTROUTING -o eth1 -p tcp –dport 80 -d 192.0.2.2 -j SNAT –to-source 192.0.2.15

Source: How To Forward Ports through a Linux Gateway with Iptables | DigitalOcean

Advertisements
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s