1

Temat: geo-ip package for gargoyle

Hy Cezary,
I am using your gargoyle build (1.6.2.2 (r42647)) but I am missing some package.
Its called iptables-mod-geoip and kmod-ipt-geoip.

root@Gateway:~# opkg install kmod-ipt-geoip
ERROR: Dependency kernel (= 3.3.8-1-d6597ebf6203328d3519ea3c3371a493) of package kmod-ipt-geoip is installed,
                but has incompatible version 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844 and is marked as 'hold'
root@Gateway:~# 

can you deliver this?

2

Odp: geo-ip package for gargoyle

Install from my repo: http://dl.eko.one.pl/attitude_adjustmen … ar71xx.ipk

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: geo-ip package for gargoyle

Thanks, but one question.
I installed it like this tutorial.
Then I tried this firewall configuration

config remote_accept 'ra_openvpn'                                                
        option zone 'wan'                                                        
        option local_port '443'                                                  
        option remote_port '443'                                                 
        option proto 'tcp'                                                       
        option extra '-m geoip --src-cc AT'

but the port is still open for every country.
Do you know why?

4

Odp: geo-ip package for gargoyle

If you make a rule from the console does it work?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: geo-ip package for gargoyle

I tried this command

iptables -A INPUT -p tcp --dport 22 -m geoip --src-cc AT -j ACCEPT

but the port is closed, also from AT

6

Odp: geo-ip package for gargoyle

iptables -I INPUT -p tcp --dport 22 -m geoip --src-cc AT -j ACCEPT

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: geo-ip package for gargoyle

Cezary napisał/a:

iptables -I INPUT -p tcp --dport 22 -m geoip --src-cc AT -j ACCEPT

with "-I" the router reboots after a few seconds :-(