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). John |
Quote:
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.*.*.
|
I think my problem is more related to routing issue between 3 networks.
|
Quote:
Can you post your iptables configuration please (both filter and nat tables)? |
Quote:
Code:
*nat |
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. Post the routing tables for the three ifaces. |
All times are GMT -5. The time now is 09:55 PM. |