I want to forward requests to my www.mydomain.com (IP 82.137.10.150) to www.otherdomain.com (IP 193.226.58.23). How can I configure shorewall (version 2.0.1) to permit this kind of traffic? Thanx in advance.
>I want to forward requests to my www.mydomain.com (IP 82.137.10.150) towww.otherdomain.com (IP 193.226.58.23).> >How can I configure shorewall (version 2.0.1) to permit this kind oftraffic? Hi, I would suggest to do that with an appropriate DNS entry instead of using Shorewall. Something like www.mydomain.com. IN CNAME www.otherdomain.com. Should do the trick. Of course you need to be able to do this DNS change. Manuel
Yes, this is a solution ... thanks ! I have another question:>From the internet, I want to connect to port 3389 (Remote Desktop) on myfirewall (82.137.10.150) and have the firewall forward connection to port 3389 on 193.226.58.28. I mention that 193.226.58.28 is not visible directly from the internet, is visible only from 82.137.10.150 - this is the contract with my ISP. Thanks again !
Dan Dobre wrote:> Yes, this is a solution ... thanks ! > > I have another question: >>From the internet, I want to connect to port 3389 (Remote Desktop) on my > firewall (82.137.10.150) and > have the firewall forward connection to port 3389 on 193.226.58.28. I > mention that 193.226.58.28 is not > visible directly from the internet, is visible only from 82.137.10.150 - > this is the contract with my ISP. >a) Set the default gateway on 192.226.58.28 to 82.137.10.150. b) Set the ''routeback'' option on your external interface in /etc/shorewall/interfaces. c) Add this rule: DNAT net net:193.226.58.28 tcp 3389 - 82.137.10.150:82.137.150.82 -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net