Jump to content


Photo

Using AirVPN on Seedbox breaks my ability to connect to Seedbox

seedbox hetzner ssh ftp

  • Please log in to reply
2 replies to this topic

#1 pandapandachan

pandapandachan

    Newbie

  • New Members
  • Pip
  • 4 posts

Posted 04 January 2017 - 11:30 AM

I am running a seedbox (Ubuntu server running Transmission) on a hetzner server and, since I'd like to use it for public as well as private trackers and the host is not friendly with users who receive DMCAs, I'd like the seedbox to use AIRVPN for its connections. The problem is that as soon as I tell AIRVPN to connect, I lost the ability to connect to the server/seebox via SSH or S/FTP- or via remote transmission. The connection simply times out and I have to send a hardware reset signal through my host's control panel to get back into my server/seedbox (fortunately, I did not set AIRVPN to automatically start/connect, since I wanted to confirm that it worked first)

 

 

. How can I configure AIRVPN to still allow these inbound connections (which will originate from a mobile device and a home, both with dynamic IP addresses)? The server has a static IP address for administrative purposes.



#2 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2205 posts

Posted 05 January 2017 - 08:56 PM

It's not about inbound connections, it's because your routing table has changed and after the connection your main gateway is the VPN gateway.

An easier solution would be configuring your administrative ports on high ports, and forward them in the https://airvpn.org/ports section.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.


#3 NaDre

NaDre

    Advanced Member

  • Members
  • PipPipPip
  • 413 posts

Posted 05 January 2017 - 09:55 PM

I am running a seedbox (Ubuntu server running Transmission) on a hetzner server and, since I'd like to use it for public as well as private trackers and the host is not friendly with users who receive DMCAs, I'd like the seedbox to use AIRVPN for its connections. The problem is that as soon as I tell AIRVPN to connect, I lost the ability to connect to the server/seebox via SSH or S/FTP- or via remote transmission. The connection simply times out and I have to send a hardware reset signal through my host's control panel to get back into my server/seedbox (fortunately, I did not set AIRVPN to automatically start/connect, since I wanted to confirm that it worked first)
 
 
. How can I configure AIRVPN to still allow these inbound connections (which will originate from a mobile device and a home, both with dynamic IP addresses)? The server has a static IP address for administrative purposes.

 
You can make some changes to routing and/or iptables rules so that you can still connect via the real IP interface and get responses via the real interface, even when the VPN IP interface is the default gateway. See this post:

https://airvpn.org/topic/12274-ubuntu-vm-cant-connect-through-openvpn/?p=44812

The option of having the VPN interface not be the default gateway is also discussed in those posts. To do this the programs that you want to use the VPN (e.g. rtorrent) must be bound to the VPN IP address. There is a bit more information about this here:

https://airvpn.org/topic/20479-setting-up-docker-containers-with-vpn-on-arch-linux/#entry52243





Similar Topics Collapse


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 14065 - BW: 44685 Mbit/sYour IP: 54.81.254.212Guest Access.