Search found 18 matches

by karljboe
Thu Jul 06, 2017 1:40 am
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

In the end what i did, was to try add in crontab /etc/crontabs/root @reboot /location/filename.sh that did not work, seems the firewall rules are applied later in the boot process, so it overwrites whatever i added @ boot so i actually just added my rules in /etc/rc.local sleep 20 iptables -t nat -a...
by karljboe
Wed Jul 05, 2017 7:20 am
Forum: Gargoyle Development
Topic: Firewall Portforward, include tun0 as src
Replies: 1
Views: 3064

Re: Firewall Portforward, include tun0 as src

Since then i have refreshed my iptables and made a seperate script running @reboot in cron.
however, it would be nice to have it as a option in the portforwarding page to include tun0 and not just wan as default
what you think?
by karljboe
Wed Jul 05, 2017 7:11 am
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

For now, i have addded my needed rules to forward from tun0 to br-lan in a script activated at boot via crontab.
would be awsom to have that option on the gui, being able to chose while making tha nat in firewall.
by karljboe
Mon Jun 12, 2017 12:48 am
Forum: Network / Wireless Issues
Topic: how to use iptables with gargoyle firmware?
Replies: 5
Views: 4322

Re: how to use iptables with gargoyle firmware?

Hi, you can easily add them to the running iptables rules, to store them so they are active after next powercycle however is another story. either you have to find where the rules are stored, and add them there or you need to add a new rule in crontab for adding these rules at every boot
by karljboe
Fri Jun 02, 2017 4:15 pm
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

Just got my new batch of routers, this time the first one i try has the infamous 18005 error when trying to upload new firmware, tried all the alternatives i could find listed in this forum, short of the tftp solution. is that the only way to go, or did someone make a better solution?
by karljboe
Sun May 28, 2017 3:56 pm
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

for now im just running rpi on lan side with the openvpn client iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.250.1:80 iptables -t nat -A PREROUTING -p tcp --dport 21845 -j DNAT --to-destination 192.168.250.1:21845 iptables -t nat -A PREROUTING -p tcp --dport 9600 ...
by karljboe
Sun May 28, 2017 3:22 am
Forum: Gargoyle Development
Topic: Firewall Portforward, include tun0 as src
Replies: 1
Views: 3064

Firewall Portforward, include tun0 as src

http://i.imgur.com/YGPY89g.png Hi, i have been struggling for a while to find a way to enter the NAT ports when being in the same subnet as my other vpn clients. seems the NAT drops the packages comming from the tun0 interface?. If so may i suggest a added function on the portforward page as illust...
by karljboe
Sat May 27, 2017 8:44 am
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

/etc/config/firewall config redirect 'redirect_enabled_number_0' option name 'raspberry' option src 'wan' option dest 'lan' option proto 'tcp' option src_dport '3322' option dest_ip '192.168.250.127' option dest_port '22' how about if i change Option src 'wan' to 'tun0' do you think that will sort m...
by karljboe
Sat May 27, 2017 8:20 am
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

-A zone_lan_postrouting -m comment --comment "user chain for postrouting" -j postrouting_lan_rule -A zone_lan_postrouting -s 192.168.250.0/24 -d 192.168.250.2/32 -p tcp -m tcp --dport 9600 -m comment --comment "PLC (reflection)" -j SNAT --to-source 192.168.250.250 -A zone_lan_pos...
by karljboe
Sat May 27, 2017 7:42 am
Forum: Network / Wireless Issues
Topic: Portforward and how to access via vpn cli adress
Replies: 27
Views: 16654

Re: Portforward and how to access via vpn cli adress

Image
this would be a awsome feature :-)