B
B
B1ackGh0st2015-06-23 05:46:55
linux
B1ackGh0st, 2015-06-23 05:46:55

How to forward http traffic on port 80 to port 993?

Hello.
There is a Windows 2003 server with kerio 6 on the network, on which all ports except 993 and 995 are closed. I want to redirect http/https traffic on my machine (Linux Debian) to these ports. Is it possible to do this and will it work?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valentine, 2015-06-23
@vvpoloskin

it just won't work, you need a proxy. Or some kind of tunnel.

M
Maxim Kovalenko, 2015-06-24
@maxxx_kovalenko

Raise the firewall on your machine, if it is iptables, then here's an example for you:
iptables -I PREROUTING -p tcp -s IP_your_machine -d IP_Windows_2003 --dport 993 -j REDIRECT --to-ports 80

S
Sergey, 2015-06-23
@edinorog

umm. incoming 80 from the outside to the internal ip port such and such. and what's the problem then?
well, the second rule is similar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question