This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Remote control through NAT

I'm using a program to remotly use my home computer from work. It uses port 4899, but I cant get it to work. This is how I set up my Astaro...

Astaro 

Network:R_admin_client 192.168.10.101 255.255.255.255 
Service: R_admin tcp 1024:65535 4899

DNAT/SNAT 
Source:Any 
Destination: external interface
Service:R_admin 
Change Dest: R_admin_client

Packet Filter 
From: Any 
To: R_admin_client 
Service: R_admin 
Allow 

Do I have to do something else with rules or services??
The remote program only uses one port (I've searched through the manual of the program and came up with this) and through a 128 bit crypt.   


This thread was automatically locked due to age.
Parents
  • Do you control the firewall at your work place? Are you sure that port is actually getting to your firewall at home? Check the live logs on the astaro see if you ever see the connection hit the box or not.  
  • You can do the same trick I suggested on another post just now: telnet external interface 4899, and see if it comes back right away with a reset or if it sits there for a while trying to negotiate the connection. This is not conclusive, because some firewalls will 'blackhole' a socket connection and humor you with a timeout. But if you come back with a quick reset, you know it's not getting to where it's going.

    If it turns out to be firewalling at the workplace, remap to 80 (if you're not hosting a web server; if you are, use another well known port that you're not using that is unlikely to be firewalled at work). OK, enough 2600 tips for now...
      
  • I have been able to connect to my home computer without the firewall i've recently installed. Yes, my work has got a firewall, but my remote prog. has been able too connect through port 4899.

    I also had a friend who tried connecting to my computer from his home computer. He got an I/O error (The errorcode didnt say much more than that).

    I mean, i've got my FTP to work with this setup as I have previously shown. Am I missing something? 

    Should I Make a NAT that begins within my internal network like:

    Source: R_Admin_client
    Destination: Internal Interface
    Service: R_admin
    Change Dest: Any

    And no, I don't control the firewall @ my work.  
    I will try to telnet from work....
  • You've already got the right NAT/packet filter I would definitely try the telnet thing and see if you get a connect screen or not. 
  • Ok, i'll try thatand then come back too you... thanks for the help sofar [:)] 
  • I think i've solved the problem myself, after some searching on the internet for a solution I found out that R_admin uses both TCP _and_ UDP on the same port. I've only allowed TCP traffic through that port   

    Will try this when I get home.



     
  • The telnet test would be TCP only...
      
  • [ QUOTE ]
    The telnet test would be TCP only...
       

    [/ QUOTE ]

    Yeah, I know, but when I set the rules above, I got an I/O error, which could mean that it tried to use the UDP port but wasn't allowed... 
  • That was the solution, the program used both UDP and TCP and I only allowed TCP traffic.

    Case closed and thanks for the response I got!! [:)] 
Reply Children