Jump to content

Recommended Posts

Posted

уважаемые гуру help

доступ в инет через squid доступ к внешней почте через pop (110)

по данному конфигу не работает что не так (или забыл что)

iptables -F

iptables -F -t nat

iptables -P INPUT DROP

iptables -P OUTPUT ACCEPT

iptables -P FORWARD DROP

iptables -A POSTROUTING -t nat -o eth0 -j SNAT --to-source XXXX

iptables -A INPUT -p ALL -i lo -j ACCEPT

iptables -A INPUT -i eth1 -s 192.168.0.0/24 -p tp --dport 3128 -j ACCEPT

iptables -A INPUT -p ALL -i eth0 -j ACCEPT

iptables -A FORWARD -s any/0 -p tcp --dport 3128 -j ACCEPT

если в посл строке поставить -p ALL то все работает (но и все пропускает а не надо) что не так ?

Posted

это я знаю но iptables не пускает почту

т.е или то или то

проблема решена (почти)

не работает разрешаются имена (dns ) на сервере в лок сети все ок

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...