Quote:
|
Originally Posted by falko
I guess this is the line that cause your problem... Can you remove it from your firewall (at least remove 192.168.0.1 so that it reads "anywhere" instead).
|
ok, I did it.. and got the same problem
Quote:
|
Feb 9 16:55:48 myserver postfix/smtp[13521]: 9D951A87EC: to=<recipient@gmail.com>, relay=none, delay=56, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
|
This is how iptables is configured now..
Quote:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT tcp -- 192.168.0.1 anywhere tcp dpt:ssh
ACCEPT tcp -- 192.168.0.1 anywhere tcp dpt:17190
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- 216.55.240.44 anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt op3
ACCEPT tcp -- 172.16.128.62 anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
|