iptables to forward VNC connection to Windows desktop via WAN port
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
iptables to forward VNC connection to Windows desktop via WAN port
I would like to open my Fedora server to connect to Windows box. My Fedora box included 3 NICs WAN(10.22.2.8), LAN1(10.28.2.100), LAN2(10.30.1.1). I would like to VNC on my windows box(10.22.2.*) to Windows(10.28.2.*) and to windows(10.30.1.*).
I am able to ping 10.22.*.* and 10.30.*.* network on my server and I am able to VNC to the server(10.22.2.8).
I would like to open my Fedora server to connect to Windows box. My Fedora box included 3 NICs WAN(10.22.2.8), LAN1(10.28.2.100), LAN2(10.30.1.1). I would like to VNC on my windows box(10.22.2.*) to Windows(10.28.2.*) and to windows(10.30.1.*).
I am able to ping 10.22.*.* and 10.30.*.* network on my server and I am able to VNC to the server(10.22.2.8).
John
I'm not sure I understand what the problem is. I'm not even sure what you are trying to do.
Are you trying to VNC from you Fedora server to a windows box or are you trying to VNC from a windows box to another windows box?
The Fedora have 3 NICS with connect to 10.22.*.*, 10.28.*.*, and 10.30.*.* network and it a firewall between these network. I would like to VNC from a Windows box on 10.22.2.* to another Windows box on 10.28.*.* and Windows box on 10.30.*.*.
Just to clarify the problem, you have 3 networks connected through a fedora server, and you want to be able to VNC from any of the networks to any of the others, correct?
Do you have any interconnectivity between the networks now? Can you ping hosts from one net to another? Access file shares? If not, the problem is the routing, fix that and VNC won't be a problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.