Jump to content

shorewall + stg


Recommended Posts

все вроде верно..

кто нить сталкивался с проблемами shorewall+stg?

 

на всякий случай оставлю конфиг - может кто поможет.

 

#/etc/shorewall/rules

#allow shell to firewall

SSH/ACCEPT all fw

 

#allow DNS

DNS/ACCEPT fw net

 

#allow Ping

Ping/ACCEPT all all

 

#allow FTP & HTTP to firewall

Web/ACCEPT fw net

FTP/ACCEPT fw net

 

#allow VPN

ACCEPT loc net 47

ACCEPT loc net tcp 1723

ACCEPT loc net udp 1723

 

#allow STG config/auth

ACCEPT all fw tcp 5555

ACCEPT all fw udp 5555

ACCEPT fw loc udp 5555

ACCEPT fw loc tcp 5555

#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

 

 

пинг во внешнюю сетку ходит нормально

а вот стг-шные порты...

при авторизации вижу вот что

 

# iptables -L | grep 192.168.0.12

ACCEPT icmp -- anywhere 192.168.0.12

ACCEPT tcp -- anywhere 192.168.0.12 state RELATED,ESTABLISHED multiport sports domain,pop3,smtp,http

ACCEPT udp -- anywhere 192.168.0.12 multiport sports domain,pop3,smtp,http

ACCEPT tcp -- 192.168.0.12 anywhere multiport dports domain,pop3,smtp,http

ACCEPT udp -- 192.168.0.12 anywhere multiport dports domain,pop3,smtp,http

ACCEPT icmp -- 192.168.0.12 anywhere

ACCEPT icmp -- anywhere 192.168.0.12

 

то есть вроде все путем..

но.

инета нету.

непонятно

 

кто сталкивался - помогите плиз.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...