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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to