Connecting to a remote server

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 8  
You could try a probe from external using tcptraceroute and check if it's being blocked somewhere on the way, but you'll probably get a definite answer if you call your ISP. That way you could also ask them if there's any other way for you to access your machine at home (sometimes they can get coaxed into opening a port).

SSH, FTP, and HTTP can use other ports if necessary, not sure about VNC, but from a security view I'd suggest to enable VNC only for localhost and using an SSH tunnel to connect.
# 9  
Easy way to check it to use telnet.

To check if you can communicate with a internal mail server do the following.
from external pc.

telnet (Ip address of public nic on router) 25
eg. telnet 25

for a pop3 server connection change 25 to 110 and so on.

If you look at your firewall rules there must be a rule that says something along these lines.

"Allow in coming traffic from anywhere on port 22 to local ip address."

Now i assume that your internet router has a ipaddress on the local nic and one on the ppp+ port. So lets say your internal ip address is and the ppp+ address is (Assigned by your isp). now to allow a connection on port 22 (ssh) from the outside world you need to make a rule in your firewall that says this.

allow tcp traffic from anywhere on port 22 to (Not sure what router you use).

If you have a internal server with ip address that is separate from the router running a vnc service you would do something along these lines.

allow tcp traffic from anywhere on port 5900 to internal server

Then always remember to deny everything else from coming in as the last rule.

Hope this helps Smilie
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #182
Difficulty: Medium
yq is a lightweight and portable command-line CSV processor.
True or False?

10 More Discussions You Might Find Interesting

1. Programming

Connecting remote SSH server which OSS lib to choose ?

Hey i want to be able to write simple SSH client to be able to connect to SSH server and invoke remote SSH command i found libssh and libssh2 and the old openSSh , what is the best and most supported library to choose from ? i need it to be cross platform . Thanks (0 Replies)
Discussion started by: umen
0 Replies

2. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies

3. Shell Programming and Scripting

Error when connecting to remote server to find files with timestamp today's day

I am connecting to remote server and try to check if files with timestamp as Today's day are on the directory. Below is my code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly; Today=`date +%Y%m%d`; if ;then echo "We... (1 Reply)
Discussion started by: digioleg54
1 Replies

4. Shell Programming and Scripting

Sudo connect to a remote server and execute scripts in remote server

Hello Every one!! I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server. Before this I am using a sudo command to change the user. The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies

5. UNIX for Dummies Questions & Answers

Why does SSH store the fingerprints of remote host when connecting for the first time?

I was wondering why does ssh store the fingerprints of remote host when connecting for the first time? I will appreciate a detailed response, can't figure it out. (2 Replies)
Discussion started by: ChiefGandalf
2 Replies

6. Shell Programming and Scripting

Connecting to remote host

Checking crontab job entry in 3 different hosts Hi Gurus, I am trying to connect to remote host from current host to check crontab entries. I have started like this ssh -n -l db2psp ". ~/.profile >/dev/null 2>/dev/null; cd log ;ls | wc -l" I got this error ? ssh:... (1 Reply)
Discussion started by: rocking77
1 Replies

7. Red Hat

How to know which application is connecting to a remote host

From a host A an application is trying to connect to host B. From firewall side I can see packets dropped coming from host A to host B. I've access to host A: how can I know which "application" is trying to connect to host B? Thanks, Marco (3 Replies)
Discussion started by: marcopb
3 Replies

8. Shell Programming and Scripting

Connecting to remote unix server using java?

I need help writing java code that can connect to a remote unix server, and run a script on that server. I have scoured the internet, but I have been unable to find proper documentation on how this can be accomplished. Any help is appreciated thanks. (1 Reply)
Discussion started by: developncode
1 Replies

9. Shell Programming and Scripting

connecting to remote db from unix script

Hi everybody, My bash script is trying to connect to a remote database using the 'sqlplus' binary.For this i set(export) the variable TWO_TASK to the value of database name excluding the dot extension part. Can anyone explain me what's the significance of this TWO_TASK variable while... (8 Replies)
Discussion started by: DILEEP410
8 Replies

10. Shell Programming and Scripting

Connecting to remote servers

Please advise, The previous thread asked about the automated transfer of files between two servers. The question is - is there any way of encrypting the password within the script or is it a matter of setting the permissions settings on the script so that it can only be executed and possibly... (1 Reply)
Discussion started by: rdbooth
1 Replies

Featured Tech Videos