the messages that sent from my server do not reach the outside, the problem with iptables since if I deactivate it and they arrive.
register the record at the end of my rules as follows:
iptables -A OUTPUT -j LOG
in the var / log / messages logs I get this:
Oct 9 12:57:00 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=173.194.221.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=56682 PROTO=TCP SPT=2423 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:02 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=173.194.221.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=57695 PROTO=TCP SPT=2423 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:06 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=74.125.130.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54423 PROTO=TCP SPT=54073 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:07 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=74.125.130.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55009 PROTO=TCP SPT=54073 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:09 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=74.125.130.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55291 PROTO=TCP SPT=54073 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
can someone help me interpret this log
add that only happens when sending mail to the outside if sending inside server works well
register the record at the end of my rules as follows:
iptables -A OUTPUT -j LOG
in the var / log / messages logs I get this:
Oct 9 12:57:00 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=173.194.221.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=56682 PROTO=TCP SPT=2423 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:02 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=173.194.221.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=57695 PROTO=TCP SPT=2423 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:06 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=74.125.130.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54423 PROTO=TCP SPT=54073 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:07 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=74.125.130.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55009 PROTO=TCP SPT=54073 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
Oct 9 12:57:09 server kernel: IN= OUT=em1 SRC=xx.xx.xx.xx DST=74.125.130.26 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55291 PROTO=TCP SPT=54073 DPT=25 WINDOW=42340 RES=0x00 SYN URGP=0
can someone help me interpret this log
add that only happens when sending mail to the outside if sending inside server works well
Last edited: