First my great admiration for your heavy work on Gargoyle. I found it much nicer Tomato, which I was using for some time.
I have one question regarding firewall. Could you point me, where I can open certain point on WAN input chain (either GUI or /etc/config file)?
In fact I installed PPTPD and want to open relevant port/protocol on WAN side.
To be more specific, I'm looking for an answer, where is the best to put relevant command in script to be in tact with Eric's ideas how firewall is configured.
How to open ports on WAN?
Moderator: Moderators
Re: How to open ports on WAN?
Did you try to add your port to Firewall->Port Forwarding in the GUI?
For the destination IP use your WAN address.
For the destination IP use your WAN address.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
-
- Posts: 3
- Joined: Tue May 18, 2010 6:31 am
Re: How to open ports on WAN?
No, I haven't tried this. Is this right way to use port forwarding for that?
I thought rather about modifying WAN input chain, the problem is where and how to be consisted with Gargoyle design (I mean not to destabilize any functionality)
BTW, please note that I must:
i) open port on WAN interface
ii) allow GRE protocol on WAN interface
I thought rather about modifying WAN input chain, the problem is where and how to be consisted with Gargoyle design (I mean not to destabilize any functionality)
BTW, please note that I must:
i) open port on WAN interface
ii) allow GRE protocol on WAN interface
-
- Posts: 3
- Joined: Tue May 18, 2010 6:31 am
Re: How to open ports on WAN?
Ok, I fixed it in the following way (hoping not to spoil anything):
Code: Select all
root@OpenWrt:~# cat /etc/firewall.user
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
iptables -I zone_wan -p gre -j ACCEPT
iptables -I zone_wan -p tcp --dport 1723 -j ACCEPT