I have a public www with some virtual hosts on a machine with public ip 2.2.2.2.
I have with another provider a second server with public ip 1.1.1.1
On dns server i wrote that intra.pippo.foo has address 1.1.1.1 so all the internet request come to machine 1.1.1.1 port 80.
I want that the server 1.1.1.1 redirects all the call on port 80 and 443 to the server 2.2.2.2 in transparent mode.. i don't want end user to know that datas are over server 2.2.2.2.
Naturally the www server on 2.2.2.2 listen on port 80 for intra.pippo.foo
How can i menage the packets with iptables for do that ?
Simone Sestini [ SS971-RIPE ]
Plug IT s.p.a. - Technical Office
Via Galileo Ferraris 216
52100 Arezzo
Titles:
System and Network Administrator
Data Transmission Manager
Fax
Web
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::