LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ubuntu router/fw - RDP across subnets (https://www.linuxquestions.org/questions/linux-networking-3/ubuntu-router-fw-rdp-across-subnets-4175549688/)

raeif 08-03-2015 12:40 AM

Ubuntu router/fw - RDP across subnets
 
I have set up a Ubuntu 14.04 server as a router with 3 NICs - 1 for internet access, 2 for internal subnets - one a LAN, one a DMZ:
eth0: 23.x.x.1 - internet
eth1: 10.1.0.1 - DMZ gw
eth2: 10.2.0.254 - LAN gw

I have a windows server in the DMZ 10.1.0.10 and I can ping it from a client on the 10.2.0.x subnet but when I try to RDP it denies the connection almost immediately (testing through telnet). I'm using all default settings in my before.rules file and have tried the following 2 ufw rules:

allow from any to 10.1.0.10
allow from any to 10.1.0.0/24 port 3389

I also checked the ufw logs and didn't see any entries showing the source IP of the client I am running RDP from nor showing the destination IP or port 3389 of my destination server.

If ping can traverse the ubuntu router and i get a reply from the server, I would think RDP would work as long as I have 3389 open in ufw on the router. I'm using RDP from a windows 8 computer to access a windows 2012 server across the ubuntu router and its not the source or the destination systems, I already verified that. Can anyone offer any insight about what I need to do here? I'm stumped and have to be missing something.

Also, just for context, I'm not that great with networking and linux yet, this is all part of me trying to learn them both. Thanks in advance.

UPDATE: I can't access any services across subnets. I've tried DNS, SSH and RDP.

mralk3 08-04-2015 11:23 AM

Did you enable ipv4 forwarding on the router?

Here is how to do it:

http://www.cyberciti.biz/faq/rhel-ce...ding-tutorial/


All times are GMT -5. The time now is 10:15 PM.