Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    Jun 2009
    Posts
    2

    Default iptables rules :-|

    Hi all

    I subscribe this forum, just for take some help...

    I have a Gateway with iptables rules..
    Everything work well...

    But when I attempt to connect to an Untangle OpenVPN Server, I can't get any connection...
    I get TLS Handshake Failed...

    I already open my firewall to the PC that have OpenVPN Gui installed...
    I use this rules:

    iptables -A FORWARD -p udp -s $LAN -d 0/0 --dport 1194 -j ACCEPT
    iptables -A FORWARD -p tcp -s $LAN -d 0/0 --dport 1194 -j ACCEPT

    iptables -A INPUT -p udp --dport 1194 -j ACCEPT
    iptables -A OUTPUT -p udp --sport 1194 -j ACCEPT

    Where LAN is my network :-D

    Thanks...

  2. #2
    Newbie
    Join Date
    Jun 2009
    Posts
    2

    Default

    I solved this problem...

    I allways put this rule in my FWL:

    $IPTABLES -A FORWARD -i $INTER -o $INTRA -j ACCEPT

    Now, I add this too

    $IPTABLES -A FORWARD -o $INTER -i $INTRA -p udp --dport 1194 -j ACCEPT

    And everything work...
    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2