This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use a firewall to restrict PPTP connection

How to use a firewall to restrict PPTP connection?


This thread was automatically locked due to age.
Parents
  • WAN is multi ip

    iptables rule

    iptables-save |grep 1723 
    -A AUTO_INPUT -p tcp -m tcp --sport 1024:65535 --dport 1723 -j CONFIRMED
    -A USR_INPUT -p tcp -m set --match-set k6Vm/9jicuIONysbpduKCg dst -m tcp --sport 1:65535 --dport 1723 -j REJECT --reject-with icmp-port-unreachable

    i can't reject other IP service
Reply
  • WAN is multi ip

    iptables rule

    iptables-save |grep 1723 
    -A AUTO_INPUT -p tcp -m tcp --sport 1024:65535 --dport 1723 -j CONFIRMED
    -A USR_INPUT -p tcp -m set --match-set k6Vm/9jicuIONysbpduKCg dst -m tcp --sport 1:65535 --dport 1723 -j REJECT --reject-with icmp-port-unreachable

    i can't reject other IP service
Children
No Data