[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Can ping through vpn but not connect


  • Subject: Re: [Openvpn-users] Can ping through vpn but not connect
  • From: "Mike Cora" <mike@xxxxxxxxxxxxxx>
  • Date: Wed, 04 May 2005 07:52:12 -0400

Works like a charm!  Thanks for your help.  

~M

-----Original Message-----
From: knetknight-knetdome <knetknight@xxxxxxxxxxxx>
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Date: Wed, 04 May 2005 06:40:33 -0500
Subject: Re: [Openvpn-users] Can ping through vpn but not connect

> <snip>
> Chain RH-Firewall-1-INPUT (2 references)
> 
> pkts bytes target     prot opt in     out     source              
> destination         
>     0     0 ACCEPT     all  --  lo     *       0.0.0.0/0           
> 0.0.0.0/0           
>     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0           
> 0.0.0.0/0           icmp type 255 
>     0     0 ACCEPT     esp  --  *      *       0.0.0.0/0           
> 0.0.0.0/0           
>     0     0 ACCEPT     ah   --  *      *       0.0.0.0/0           
> 0.0.0.0/0           
>     0     0 ACCEPT     udp  --  *      *       0.0.0.0/0           
> 224.0.0.251         udp dpt:5353 
>     0     0 ACCEPT     udp  --  *      *       0.0.0.0/0           
> 0.0.0.0/0           udp dpt:631 
>     8   560 ACCEPT     all  --  *      *       0.0.0.0/0           
> 0.0.0.0/0           state RELATED,ESTABLISHED 
>     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0           
> 0.0.0.0/0           state NEW tcp dpt:202 
>     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0           
> 0.0.0.0/0           state NEW tcp dpt:1194 
>     0     0 REJECT     all  --  *      *       0.0.0.0/0           
> 0.0.0.0/0           reject-with icmp-host-prohibited
> </snip>
> 
> Carte blanche iptables commands to allow your openvpn tunnel full
> access would be...
> 
> if you're using openvpn on tap0...
> iptables -I RH-Firewall-1-INPUT -i tap0 -j ACCEPT
> 
> if you're using openvpn on tun0...
> iptables -I RH-Firewall-1-INPUT -i tun0 -j ACCEPT
> 
> 1. iptables commands are case-sensitive so enter exactly what I've
> typed.
> 2. Substitute tap0 or tun0 with whatever is your openvpn's device name.
> 
> These commands simply insert a rule into the beginning of the
> RH-Firewall-1-INPUT chain that accepts all traffic from the specified
> interfaces. If you want to allow only connections to specific ports the
> commands will need to be modified.
> 
> Finally, you'll probably want to save these changes to your
> automatically loaded firewall config.
> 
> Hope that helps, kk
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great
> events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-05/msg00039.html on line 249

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-05/msg00039.html on line 249