LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2008, 01:28 PM   #1
Hoos
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
SUSE : SSH and NXremote via VPN


Hello Linux friends,

Im quite new to linux, as I was bored and frustrated with M$ XP decided to install KDE on my server.
With help from our best friend google and these forums I almost managed to get my server completely working under Linux Suse 10.3

As expected I came across a few bumps in the road to linux, but patient as I am I managed to go sort most of them out which leaves me to one issue I need some help with.

I installed a VPN server on my server (pptpd) which is can connect to.

When I connect to my Linux server from my M$ work laptop I am registered on the network and I can ping the device.

My network looks like this.
I forwarded port 1723 to my server so I can connect from the internet to my server (VPN port) I can login from the WAN address and also enabled IP forwarding on my linux server.

Server IP: 192.168.2.189
work laptop IP: 192.168.2.101
VPN IP laptop: 10.10.10.10

I tried forwarding the VPN route to my gateway, but seem to be stuck.

Also I disabled the Suse firewall (as I am behind a firewall of my router)

To me it seems like there is a problem with my route table

I cant use NX remote control and SSH.. so that why I thought my routes were bad.

Enclosed you will see my route table:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.10.10 * 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

Any ideas ?

Last edited by Hoos; 04-23-2008 at 01:33 PM.
 
Old 04-24-2008, 07:17 AM   #2
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by Hoos View Post
Hello Linux friends,

Im quite new to linux, as I was bored and frustrated with M$ XP decided to install KDE on my server.
With help from our best friend google and these forums I almost managed to get my server completely working under Linux Suse 10.3

As expected I came across a few bumps in the road to linux, but patient as I am I managed to go sort most of them out which leaves me to one issue I need some help with.

I installed a VPN server on my server (pptpd) which is can connect to.

When I connect to my Linux server from my M$ work laptop I am registered on the network and I can ping the device.

My network looks like this.
I forwarded port 1723 to my server so I can connect from the internet to my server (VPN port) I can login from the WAN address and also enabled IP forwarding on my linux server.

Server IP: 192.168.2.189
work laptop IP: 192.168.2.101
VPN IP laptop: 10.10.10.10

I tried forwarding the VPN route to my gateway, but seem to be stuck.

Also I disabled the Suse firewall (as I am behind a firewall of my router)

To me it seems like there is a problem with my route table

I cant use NX remote control and SSH.. so that why I thought my routes were bad.

Enclosed you will see my route table:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.10.10 * 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

Any ideas ?
Welcome to the forums.....

I dont use VPN but perhaps you need to open the SSHD port 22 as well on the router?

Last edited by utanja; 04-24-2008 at 07:19 AM.
 
Old 04-24-2008, 03:14 PM   #3
Hoos
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by utanja View Post
Welcome to the forums.....

I dont use VPN but perhaps you need to open the SSHD port 22 as well on the router?

Thanks

I tried forwarding port 22, but this also does not work.

Any ideas ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH vs VPN maxsanders Linux - Networking 3 08-14-2007 03:22 PM
VPN vs SSH metallica1973 Linux - Security 4 06-06-2007 10:25 AM
VPN, SSH and VNC roofninja Linux - General 2 04-06-2006 01:27 PM
VPN Tunnel Through SSH gauge73 Linux - Networking 4 05-16-2004 08:24 PM
Tunneling Inward to A VPN using ssh disinformation Linux - Software 2 12-17-2003 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration