Questions

I need to forwardin incoming connections for ports 34200 - 34205

Tags:
+
0 Votes
Locked

I need to forwardin incoming connections for ports 34200 - 34205

laylward
Can anybody give me step by step instructions on forwarding incoming connections to ports 34200 to 34205 to an internal ip address within an astaro gateway
Thanks for your help
  • +
    0 Votes
    Toivo Talikka

    Have you tried downloading the user manual from Astaro's Knowledgebase, available at http://www.astaro.com/kb ?

    Have a look at section 5.6.5 Generic [Proxy]

    +
    0 Votes
    hecrespo

    # $IPTABLES -t nat -A PREROUTING -s 65.5.x.x -p tcp --dport 21 -j DNAT --to 192.168.0.102
    # $IPTABLES -A INPUT -i $WAN_IFACE -s 65.5.x.x -p tcp --dport 21 -j ACCEPT
    # $IPTABLES -A FORWARD -s 65.5.x.x -p tcp --dport 21 \
    # -d 192.168.0.102 -j ACCEPT
    #----------------x
    In your case change --dport 21 to the ports you need for multi port example --dport 3000:3100

  • +
    0 Votes
    Toivo Talikka

    Have you tried downloading the user manual from Astaro's Knowledgebase, available at http://www.astaro.com/kb ?

    Have a look at section 5.6.5 Generic [Proxy]

    +
    0 Votes
    hecrespo

    # $IPTABLES -t nat -A PREROUTING -s 65.5.x.x -p tcp --dport 21 -j DNAT --to 192.168.0.102
    # $IPTABLES -A INPUT -i $WAN_IFACE -s 65.5.x.x -p tcp --dport 21 -j ACCEPT
    # $IPTABLES -A FORWARD -s 65.5.x.x -p tcp --dport 21 \
    # -d 192.168.0.102 -j ACCEPT
    #----------------x
    In your case change --dport 21 to the ports you need for multi port example --dport 3000:3100