transmission will not use my vpn pptp connection

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

transmission will not use my vpn pptp connection

Postby zimzon on Sat May 12, 2012 4:58 pm

Hello,

I have managed to create a tunnel named ppp0 but transmission-daemon will not act on that connection, rather than eth0
I have been trying to learn as much as i can on the subject but im stuck!

What i have done:
Code: Select all
sudo pptpsetup --create anonine --server vpn.anonine.net --username #### --password ##### --encrypt --start


Have also changed 2 lines in /etc/ppp/options.pptp (removed '#' )
Code: Select all
# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
require-mppe-128
Code: Select all
# }}}
# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
mppe required,stateless
Code: Select all
# }}}


now i get running ifconfig

Code: Select all
ppp0      Link encap:Point-to-Point Protocol 
          inet addr:178.73.203.88  P-t-P:178.73.203.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:1107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:62378 (62.3 KB)  TX bytes:72 (72.0 B)


the tunnel is there as a connection but i cant get transmission to get that it should USE it. because it doesnt.
ppp0 lies in the bottom of my list of network interfaces { eth0, lo and ppp0 } with ifconfig
i wonder if i should run
Code: Select all
 
ip route add  178.73.203.1 transmission-daemon ppp0

or how do i solve this issue?
i tried to run transmission through vpn (pptp) on my laptop and it worked like a charm... so what to do to make it work on my server?

every help i can get is appreciated
zimzon
Level 1
Level 1
 
Posts: 4
Joined: Tue May 01, 2012 1:40 pm

Linux Mint is funded by ads and donations.
 

Re: transmission will not use my vpn pptp connection

Postby swivelsnoot on Fri May 18, 2012 5:49 pm

Best resource I've found: http://pptpclient.sourceforge.net/howto-debian.phtml

I'm using Debian though and it took a fair bit of fiddling...and reading...

If you think you've successfully established a pptp connection with what you've done then try the following routing changes, otherwise start again with the instructions on the link above.

# direct tunnelled packets to the tunnel server
route add -host vpn.anonine.net dev eth0

# direct all other packets into the tunnel
route del default eth0
route add default dev ppp0

good luck
swivelsnoot
Level 1
Level 1
 
Posts: 1
Joined: Fri May 18, 2012 5:42 pm


Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 5 guests