LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-31-2015, 05:55 PM   #1
LesterFarnsworth
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Rep: Reputation: Disabled
having difficulty with ssh and transmission web interface once i set up my vpn


so i am new to linux and working on setting up a htpc that will download files using a transmission daemon. i installed lubuntu onto a small barebones system without issue, and successfully got a transmission daemon up and running. after struggling for a while setting up my vpn i finally got that working, but now i am have two problems:

i used to ssh into my linux machine using putty but now i cannot connect to it locally

i also cannot connect to the transmission web interface any more

i understand how this problem would happen, if the computer is connected to a vpn and all of its internet is sent through that then it makes sense that i would not be able to connect to it from my local network. i figure that the solution to this could be very simple, all i should need to do is to find the ip address that the vpn connects to and connect to both the transmission web interface and ssh using that.

could somebody give me simple instructions on figuring out what the right ip address is for my linux system? i am pretty literate when it comes to computers but my knowledge of linux and how ip addresses work is pretty limited. any help would be appreciated!

thanks!
 
Old 08-31-2015, 07:03 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,153

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
If you need your outward facing ip then try
http://whatsmyip.net/

You may also find 'Sheilds up' handy at:
https://www.grc.com/x/ne.dll?bh0bkyd2

To check open ports
 
Old 08-31-2015, 09:56 PM   #3
LesterFarnsworth
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks for responding keith!

so i got the ip address from whatsmyip and tried to ssh into the computer. the ip address worked, and it accepted my login name, but it keeps on saying "access denied" when i try to log in. i feel like theres some sort of setting or command that i need to enter on the linux computer, you wouldnt happen to know what that setting or command is do you?

thanks!
 
Old 08-31-2015, 10:24 PM   #4
LesterFarnsworth
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
so i did a little internet digging and followed these instructions:

http://superuser.com/questions/53372...-via-ssh-putty

i added "#AllowUsers tempuser" to the file /etc/ssh/sshd_config, one weird thing is that i was unable to figure out how to restart the ssh service, so i tried rebooting. still getting "access denied". i feel like there might be something wrong or missing from my computers ssh? i did just do a clean install of lubuntu so perhaps i still need to set up ssh. is there a good way to find out whats wrong?
 
Old 09-01-2015, 07:08 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,153

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
You also need to tell your router to fowrd port 22 to whatever local ip is running the ssh service, this will vary from router to router but is usually faily straight forward, just make sure you secure the local machine, no open ports no root login via ssh, use ssh keys and disable password logins, no unnessaccry services running etc
 
  


Reply



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
LXer: How to set up VPN over SSH in Linux LXer Syndicated Linux News 0 09-12-2013 05:20 PM
Transmission web interface knobby67 Linux - Software 2 05-18-2012 03:51 AM
Problem with VPN routing for Transmission Web Interface access SadE54 Linux - Networking 0 10-26-2010 09:46 AM
Transmission web interface error halvors Linux - Server 1 12-02-2009 10:31 AM
How to set up a 'The Cloak' type web interface proxy. musther Linux - Software 1 06-19-2008 07:32 PM

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

All times are GMT -5. The time now is 05:36 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