Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connecting to Linux machine remotely

Reply
Thread Tools Display Modes

Connecting to Linux machine remotely

 
 
Eireann Kelly
Guest
Posts: n/a

 
      09-02-2003, 07:39 PM
I have been set-up to connect to my work machines though the firewall
from home, however my ipaddress has changed....I do however have a ssh
connection.
What file do i update/change so that i can put my new ip address in
there, to allow me to listen on our private newsgroups, GUI's etc...
 
Reply With Quote
 
 
 
 
Eireann Kelly
Guest
Posts: n/a

 
      09-03-2003, 08:19 AM
(E-Mail Removed) (Eireann Kelly) wrote in message news:<(E-Mail Removed). com>...
> I have been set-up to connect to my work machines though the firewall
> from home, however my ipaddress has changed....I do however have a ssh
> connection.
> What file do i update/change so that i can put my new ip address in
> there, to allow me to listen on our private newsgroups, GUI's etc...


It should be in the file with the rules to access in it..?
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      09-03-2003, 10:55 AM
Eireann Kelly wrote:

> I have been set-up to connect to my work machines though the firewall
> from home, however my ipaddress has changed....I do however have a ssh
> connection.
> What file do i update/change so that i can put my new ip address in
> there, to allow me to listen on our private newsgroups, GUI's etc...


Which IP address has changed? Perhaps a better description of your problem
would help.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
Xyerp
Guest
Posts: n/a

 
      09-03-2003, 11:26 AM
(E-Mail Removed) (Eireann Kelly) wrote in message news:<(E-Mail Removed). com>...
> I have been set-up to connect to my work machines though the firewall
> from home, however my ipaddress has changed....I do however have a ssh
> connection.
> What file do i update/change so that i can put my new ip address in
> there, to allow me to listen on our private newsgroups, GUI's etc...


Take a look at the documentation for your firewall.

Probably here: http://www.netfilter.org/
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      09-08-2003, 08:06 AM
On 2 Sep 2003 12:39:33 -0700, Eireann Kelly <(E-Mail Removed)> wrote:
> I have been set-up to connect to my work machines though the firewall
> from home, however my ipaddress has changed....I do however have a ssh
> connection.
> What file do i update/change so that i can put my new ip address in
> there, to allow me to listen on our private newsgroups, GUI's etc...


Are you trying to access work from home, home from work, and what is it
that you need to update for a changing IP? If you know what ports you
need you can forward tcp ports through ssh.

Use dynamic DNS to find my home PC on dynamic adsl. Do a web search for
'dns hosting'. I use no-ip.com (I run their DNS update client
automatically from /etc/ppp/ip-up for pppoe).

By tunneling whatever ports are required for specific tasks you can
connect to the near side of the tunnel just as though you were on the far
end. For example I can ssh to our company smtp server and forward ports
to access our HP3000 computer, or access the JetDirect web interface on
our office printer (3400 mi round trip to California back through our WAN
to Illinois), etc. ~/.ssh/config example for HP3000 terminal program:

Host company-vtmgr
Hostname mail.ourcompany.domain
User methere
GatewayPorts yes
LocalForward 1537 192.168.1.2:1537
LocalForward 1570 192.168.1.2:1570

Then I just connect Reflection on a Win98 box to my Linux LAN IP and I am
connected to factory LAN computer.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
Reply With Quote
 
Arron
Guest
Posts: n/a

 
      09-10-2003, 03:03 AM
I have been trying to get more info on doing this and security concerns and
so on, which how to would explain how to do this better and the details and
all that good stuff? as well can it be done threw a proxy server?

Thanks :-)

Arron


"David Efflandt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 2 Sep 2003 12:39:33 -0700, Eireann Kelly <(E-Mail Removed)>

wrote:
> > I have been set-up to connect to my work machines though the firewall
> > from home, however my ipaddress has changed....I do however have a ssh
> > connection.
> > What file do i update/change so that i can put my new ip address in
> > there, to allow me to listen on our private newsgroups, GUI's etc...

>
> Are you trying to access work from home, home from work, and what is it
> that you need to update for a changing IP? If you know what ports you
> need you can forward tcp ports through ssh.
>
> Use dynamic DNS to find my home PC on dynamic adsl. Do a web search for
> 'dns hosting'. I use no-ip.com (I run their DNS update client
> automatically from /etc/ppp/ip-up for pppoe).
>
> By tunneling whatever ports are required for specific tasks you can
> connect to the near side of the tunnel just as though you were on the far
> end. For example I can ssh to our company smtp server and forward ports
> to access our HP3000 computer, or access the JetDirect web interface on
> our office printer (3400 mi round trip to California back through our WAN
> to Illinois), etc. ~/.ssh/config example for HP3000 terminal program:
>
> Host company-vtmgr
> Hostname mail.ourcompany.domain
> User methere
> GatewayPorts yes
> LocalForward 1537 192.168.1.2:1537
> LocalForward 1570 192.168.1.2:1570
>
> Then I just connect Reflection on a Win98 box to my Linux LAN IP and I am
> connected to factory LAN computer.
>
> --
> David Efflandt - All spam ignored http://www.de-srv.com/
> http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
> http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/



 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      09-10-2003, 04:44 AM


]I have been trying to get more info on doing this and security concerns and
]so on, which how to would explain how to do this better and the details and
]all that good stuff? as well can it be done threw a proxy server?

I think you really need to give more information.

a) The way to connect to a machine from a remote location is via ssh.
This is a secure (passwords are sent encrypted, or no password, but a
secure authentication method is used) way of connecting.

b) If your worry is that your machine keeps changing its IP address, you
could set up your system so that it would connect to the other computer
each time it came up, and reported its IP address to taht computer. You
could then put that IP address and the name into /etc/hosts, so you
could connect. The big problem is that although your provider knows the
new IP address of the dynamically allocated machine, that address is not
propagated for up to week to anywhere else.

In my case my machine is given a fixed host name by my ISP which it
always retains. I then have a cron job on the other machine that I will
want to connect from which queries the dns server of my ISP every 5 min
for the IP of that hostname, and stores it in /etc/hosts.

Equivalently you could have the machine that gets the new IP send a
message to the other machine when it gets a new IP address.
(unfotulately this does not work for emails, since they do NOT query
/etc/hosts for the MX record needed for mail)


Here is the script which I use with telus.net to query the IP for the
host name (changed to protect the guilty)
(209.53.4.130 is the dns server for my ISP, telus.net, while
abc123fr34fgh.bc.hsia.telus.net is the name which telus.net knows my
machine as.

_____________________________________________

#!/bin/bash

IP=`host abc123fr34fgh.bc.hsia.telus.net 209.53.4.130|grep 'has address'|awk '{print $4}'`

echo $IP
if [ "$IP" ]; then
vi -c :/wormhole/d -c :wq /etc/hosts
echo "$IP wormhole wormhole.physics.ubc.ca" >>/etc/hosts
fi

]Thanks :-)

]Arron


]"David Efflandt" <(E-Mail Removed)> wrote in message
]news:(E-Mail Removed)...
]> On 2 Sep 2003 12:39:33 -0700, Eireann Kelly <(E-Mail Removed)>
]wrote:
]> > I have been set-up to connect to my work machines though the firewall
]> > from home, however my ipaddress has changed....I do however have a ssh
]> > connection.
]> > What file do i update/change so that i can put my new ip address in
]> > there, to allow me to listen on our private newsgroups, GUI's etc...
]>
]> Are you trying to access work from home, home from work, and what is it
]> that you need to update for a changing IP? If you know what ports you
]> need you can forward tcp ports through ssh.
]>
]> Use dynamic DNS to find my home PC on dynamic adsl. Do a web search for
]> 'dns hosting'. I use no-ip.com (I run their DNS update client
]> automatically from /etc/ppp/ip-up for pppoe).
]>
]> By tunneling whatever ports are required for specific tasks you can
]> connect to the near side of the tunnel just as though you were on the far
]> end. For example I can ssh to our company smtp server and forward ports
]> to access our HP3000 computer, or access the JetDirect web interface on
]> our office printer (3400 mi round trip to California back through our WAN
]> to Illinois), etc. ~/.ssh/config example for HP3000 terminal program:
]>
]> Host company-vtmgr
]> Hostname mail.ourcompany.domain
]> User methere
]> GatewayPorts yes
]> LocalForward 1537 192.168.1.2:1537
]> LocalForward 1570 192.168.1.2:1570
]>
]> Then I just connect Reflection on a Win98 box to my Linux LAN IP and I am
]> connected to factory LAN computer.
]>
]> --
]> David Efflandt - All spam ignored http://www.de-srv.com/
]> http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
]> http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remotely login into a pure IPv6 Linux machine from a DualStack windows machine chaitan Linux Networking 1 11-21-2007 05:37 PM
help connecting to my linux machine with verizon dsl via ssh dongarbage@hotmail.com Linux Networking 2 09-27-2006 08:06 PM
help connecting to my linux machine with verizon dsl via ssh dongarbage@hotmail.com Linux Networking 9 09-06-2006 10:35 PM
How to remotely connect to linux machine and then use GUI software on it? I_have_nothing Linux Networking 8 04-24-2005 09:43 PM
connecting remotely to a windows 2000 machine Peter McCaul Windows Networking 3 11-09-2004 08:13 PM



1 2 3 4 5 6 7 8 9 10 11