Results 1 to 4 of 4
I wish to forward my port there is a website that is hosted on linux and would want to host it on a windows 2000 server I want 2 connect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-31-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Forwarding a port
I wish to forward my port there is a website that is hosted on linux and would want to host it on a windows 2000 server I want 2 connect these 2 servers so that every request sent to linux is redirected to windows how do i do that
- 10-31-2006 #2Just Joined!
- Join Date
- Jun 2006
- Location
- (.)
- Posts
- 69
Hi,
Try to do the following:
# enable ip_forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp -d 192.168.1.22 --dport 80 -j DNAT --to-destination 192.168.1.11
Let,
.22 - is linux machine
.11 is windows
regards,
- 11-01-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Thanks am trying that now
thank you for the response I trie what you said but its refusing to reckonise that --d its taking it to be similar to -d what could be the problem?
- 11-01-2006 #4Just Joined!
- Join Date
- Jun 2006
- Location
- (.)
- Posts
- 69
I didnt understant your question exactly. What error are you receiving?


Reply With Quote
