Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh server under ppp connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ruivilela
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 236
Location: Łódź

PostPosted: Sun Jan 02, 2011 10:11 pm    Post subject: ssh server under ppp connection Reply with quote

Hi.

Iam trying to setup a ssh server with a ppp connection that runs on a 3g/umts modem. (never tried before)

ifconfig ppp5
Code:

ppp5      Link encap:Point-to-Point Protocol 
          inet addr:46.113.122.111  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:28520 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19716 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:35016791 (33.3 MiB)  TX bytes:1695358 (1.6 MiB)


netstat
Code:

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      31468/sshd         


The Internet works fine. The ssh server works from lan. But I can not use any local server app from a remote host :(

Is it possible at all to do this?
Back to top
View user's profile Send private message
AngelKnight
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 126

PostPosted: Mon Jan 03, 2011 4:19 am    Post subject: Re: ssh server under ppp connection Reply with quote

Hi.

Generically, it should be possible to do what you ask. But, more information would be useful.

You mentioned that "the internet works fine"; does that mean that with the 3g modem online, the routing table has been adapted to route 0.0.0.0/0 over the ppp connection, and outside network access works as expected? The fastest answer might be to provide the output of "/sbin/ip route show" with the ppp connection fully established. To run the command you will need iproute2 installed.

If this is all set up, you may wish to try some basic troubleshooting: from a remote machine try to establish an SSH connection while on the local machine you have "tcpdump -s0 -vnn -i pppX 'tcp port 22'" running and see if any traffic appears.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum