firewall iptables
Moderator: Moderators
firewall iptables
how work firewall iptables here?
already login shh put my new rule and see is list in iptables
and save
when reboot is gone
iptables -t nat -I OUTPUT -p tcp --dport 1723 -j DNAT --to-destination :57594
for hide pptp port
my router is wr841n tp link with gargoyle 1.7.1
any help thanks a lot
already login shh put my new rule and see is list in iptables
and save
when reboot is gone
iptables -t nat -I OUTPUT -p tcp --dport 1723 -j DNAT --to-destination :57594
for hide pptp port
my router is wr841n tp link with gargoyle 1.7.1
any help thanks a lot
Re: firewall iptables
anyone? is for pptp tunnel vpn
Re: firewall iptables
what about /etc/firewall.user?
Mine looks like.
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
# Internal uci firewall chains are flushed and recreated on reload, so
# put custom rules into the root chains e.g. INPUT or FORWARD or into the
# special user chains, e.g. input_wan_rule or postrouting_lan_rule.
iptables -t nat -I PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
Mine looks like.
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
# Internal uci firewall chains are flushed and recreated on reload, so
# put custom rules into the root chains e.g. INPUT or FORWARD or into the
# special user chains, e.g. input_wan_rule or postrouting_lan_rule.
iptables -t nat -I PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260
NETGEAR Nighthawk R7800
NETGEAR R6260
Re: firewall iptables
iptables -t nat -I PREROUTING -p tcp --dport 1723 -j REDIRECT --to-ports 57777
iptables -t nat -I PREROUTING -p udp --dport 1723 -j REDIRECT --to-ports 57777
is that ? i put this and not work
continue using port 1723 for output in pptp
iptables -t nat -I PREROUTING -p udp --dport 1723 -j REDIRECT --to-ports 57777
is that ? i put this and not work
continue using port 1723 for output in pptp
Re: firewall iptables
I am sorry it was just a guess. I dont no much about iptables.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260
NETGEAR Nighthawk R7800
NETGEAR R6260
Re: firewall iptables
thanks tapper
anyone understand can help me please?
anyone understand can help me please?
Re: firewall iptables
Did you restart the firewall after making those changes in the firewall.user file?
Also instead of a REDIRECT shouldn't it be a DNAT?
Also instead of a REDIRECT shouldn't it be a DNAT?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: firewall iptables
how i restart firewall?
how use Dnat ?
how use Dnat ?
Re: firewall iptables
/usr/lib/gargoyle/restart_firewall.shhelmax wrote:how i restart firewall?
iptables -t nat -I PREROUTING -p tcp --dport 1723 -j DNAT --to-ports 57777helmax wrote:how use Dnat ?
iptables -t nat -I PREROUTING -p udp --dport 1723 -j DNAT --to-ports 57777
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: firewall iptables
thanks Lantis but not work
continue using out 1723
already try see in services port but dont have for pptp
continue using out 1723

already try see in services port but dont have for pptp