help routing through vpn

Need help? Post your questions here.

Moderator: moderators

help routing through vpn

Postby jamdox » Mon Oct 30, 2017 10:59 pm

I have a remote server I'd like to use to route the music past a firewall I don't control.

When ssh'd into the sever, and with OpenVPN connected, I can use lynx to access the subsonic web page (port 4040). Here are the rules I have set up in UFW:

Code: Select all
To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere                 
1194                       ALLOW       Anywhere                 
SSH                        ALLOW       Anywhere                 
OpenSSH                    ALLOW       Anywhere                 
4040                       ALLOW       Anywhere                 
80                         ALLOW       Anywhere                 
22 (v6)                    ALLOW       Anywhere (v6)             
1194 (v6)                  ALLOW       Anywhere (v6)             
SSH (v6)                   ALLOW       Anywhere (v6)             
OpenSSH (v6)               ALLOW       Anywhere (v6)             
4040 (v6)                  ALLOW       Anywhere (v6)             
80 (v6)                    ALLOW       Anywhere (v6)             

4040 on venet0             ALLOW FWD   Anywhere on tun0         
Anywhere on tun0           ALLOW FWD   4040 on venet0           
4040 (v6) on venet0        ALLOW FWD   Anywhere (v6) on tun0     
Anywhere (v6) on tun0      ALLOW FWD   4040 (v6) on venet0   


When trying to access my.server.ip:4040 it times out. When accessing port 80 the normal apache placeholder page shows up. So the server is reachable from the internet, subsonic is reachable over the VPN, but subsonic isn't reachable over the internet. Is it possible my server provider is blocking port 4040?

EDIT: from sysctl
Code: Select all
net.ipv4.ip_forward = 1
jamdox
 
Posts: 8
Joined: Tue Aug 07, 2012 5:49 am

Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests