My goal is to get iptables to forward incoming port 80 to 5801, but only if the incoming IP address is a certain one.
My school computers block everything except port 80 and 443 (https), and i want to use the web based vnc client there, but i would like my webserver to be available everywhere else. (i would also like ssh, which i could forward from 443 to 22)
Is this even possible?
or better yet, anything that would forward domain.com/vnc to domain.com:5801 and domain.com/ssh to domain.com:22
Thanks for any help you can provide
(keep in mind i am completely new to iptables)