LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2015, 07:39 PM   #1
averagejames2000
LQ Newbie
 
Registered: Nov 2014
Posts: 13

Rep: Reputation: Disabled
Issues with OpenVPN, Transmission Web UI, external network


Hey guys, so I'm pretty familiar with Linux but my networking is pretty sub par. I was hoping to get some assistance with this.

I currently have my raspberry Pi running on my home network running transmission web-ui for torrenting purposes (like totally legal linux torrents for example). I recently setup OpenVPN on my pi and have it setup and working as it should so my IP is masked with a new PIA IP but obviously with the new IP I cannot access transmission on the public IP at port 9091. I'm wondering if there is a way for the web-ui to be accessible but to have the VPN still working and hiding my traffic.

Options I have considered are setting up some sort of a cron that runs every few minutes that, now I don't know the best way to do this, but that would check for an active torrent being downloaded in some way, such as having the Incomplete folder that transmission supports being turned on and whenever a file is added to that folder it starts the OpenVPN connection. My concern with this is that it would interrupt the torrent and it would then fail. I'm not 100% sure how this would work and I'm not the greatest at bash scripting still, (working on it) so any advice in that regard would be great.

I also looked at binding transmission to a specific network device like eth0 that runs on my local IP address so I could still access the web ui but then I'm not sure if the traffic would continue to be filtered by the VPN. I'm assuming not.

Basically I'm reaching the ends of my knowledge and ideas and was hoping for some further input.

Thanks in advance guys. Let me know if you need more information from me.
 
Old 05-17-2015, 07:56 PM   #2
averagejames2000
LQ Newbie
 
Registered: Nov 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
I think a good option for this would be to configure port forwarding for Private Internet access to forward all port 9091 requests to my ISP public IP. That would let the Transmission client still run behind the VPN but would allow me to connect to the web ui to add torrents externally. I already have the port forward rules set in my router so I just need to figure out how to port forward with privateinternetaccess.

Anyone have any ideas?
 
Old 05-17-2015, 08:16 PM   #3
averagejames2000
LQ Newbie
 
Registered: Nov 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
I figured out how to port forward with OpenVPN and private internet access following the guide here
https://www.privateinternetaccess.co...advanced-users

I'm still having issues accessing the public IP though.
 
Old 05-17-2015, 08:35 PM   #4
averagejames2000
LQ Newbie
 
Registered: Nov 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yup it looks like the script is not actually working to open the port. I got the script to run and get the following.

Loading port forward assignment information..
{"port":56783}


However when I check the public IP address that I am currently connected to using

curl ifconfig.me I can see using a tool like

yougetsignal.com/tools/open-ports/

that the port 56783 is closed.

Any advice on this?
 
Old 05-17-2015, 09:17 PM   #5
averagejames2000
LQ Newbie
 
Registered: Nov 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
I have figured this out.

Not sure what changed but tried another few times and I am now able to access transmission outside of my network.

I used the script I found earlier and that generated an open port for me. Once that port was open I opened the port on my modem to my raspberry pi and then set transmission to listen on that port. Now it looks like everything is working as intended.

If anyone runs into any issues with this let me know I'll be happy to help.
 
  


Reply

Tags
networking, raspberry pi, transmission, vpn


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
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
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 02:42 AM
Transmission web interface error halvors Linux - Server 1 12-02-2009 10:31 AM
ssh issues - can't connect from external network, internal okay dragos19 Linux - Server 5 06-10-2008 09:13 PM

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

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