Hi. I want to use a pptp client and connect with a vpn service. My information would be: The username, the password, and the gateway. In /rules i have written: PPtP/ACCEPT fw net In tunnels i want to write: pptpclient net pptp.relakks.com But it says (in /tunnels): ERROR: Unknown Host (pptp.relakks.com) : /etc/shorewall/tunnels (line 13) But something is wrong, what could it be? I am a novice managing vpn connections, so i don''t know if something is missing. Thank you very much, I appreciate your help. ------------------------------------------------------------------------------
Manuel Carrasco wrote:> Hi. I want to use a pptp client and connect with a vpn service. > > My information would be: > > The username, the password, and the gateway. > > In /rules i have written: > PPtP/ACCEPT fw net > > In tunnels i want to write: > pptpclient net pptp.relakks.com > > But it says (in /tunnels): > ERROR: Unknown Host (pptp.relakks.com) : /etc/shorewall/tunnels (line > 13) > > But something is wrong, what could it be? I am a novice managing vpn > connections, so i don''t know if something is missing. > > Thank you very much, I appreciate your help.Two things: a) If your system is the PPTP client, then put 0.0.0.0/0 in the GATEWAY column of your tunnels file entry (and see http://www.shorewall.net/configuration_file_basics.htm#dnsnames for a strong admonition against using DNS names in your Shorewall configuration files). b) See http://www.shorewall.net/PPTP.htm#ClientFW for detailed instructions for configuring a PPtP client on your firewall. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------
Hi Manuel, I can post my pptp configuration that works. My vpn is behind the firewall: /etc/Shorewall/rules DNAT net v50:10.0.0.10 tcp 1723 - EXTERNAL.IP.xx.xx ACCEPT all all tcp 1723 ACCEPT all all 47 /etc/Shorewall/tunnels pptpserver v50 10.0.0.10/24 /etc/Shorewall/masq (might not be necessary) ppp0 10.0.0.10 EXTERNAL.IP 47 Hope this helps. Tal. -----Original Message----- From: Manuel Carrasco [mailto:manuc.lists@gmail.com] Sent: Thursday, April 02, 2009 2:25 AM To: shorewall-users@lists.sourceforge.net Subject: [Shorewall-users] I need help with a PPtP connection (VPN) Hi. I want to use a pptp client and connect with a vpn service. My information would be: The username, the password, and the gateway. In /rules i have written: PPtP/ACCEPT fw net In tunnels i want to write: pptpclient net pptp.relakks.com But it says (in /tunnels): ERROR: Unknown Host (pptp.relakks.com) : /etc/shorewall/tunnels (line 13) But something is wrong, what could it be? I am a novice managing vpn connections, so i don''t know if something is missing. Thank you very much, I appreciate your help. -------------------------------------------------------------------------- ---- _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users ------------------------------------------------------------------------------