Re-Direct Acess from one server to another

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

Ooops :)
You need to specify the protocol ... sorry, I missed it ...

Code: Select all

iptables -I FORWARD -p tcp -s 2.2.2.2 --sport 80 -j ACCEPT
iptables -I FORWARD -p tcp -d 2.2.2.2 --dport 80 -j ACCEPT
PS: For help on iptables type:
man iptables
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

Have you managed to do it?
There are 10 types of people in this world, those who understand binary and those who don't
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

Hi Vlad,

Sorry didn't get around to it yet.. got occupied with other stuff.. will give it a whirl again this week-end.
Post Reply