msn and yahoo messenger voice chat
Quoted 6 lines · Wennie V. Lagmay
Thank you Jason, I just want to confirm is it to be writen
like this alone:
iptables -t nat -A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115
yes--SAME can completely replace your SNAT rule, if you so desire.
Quoted 3 lines
or the original SNAT plus SAME like this :
IPTABLES -A POSTROUTING -s 192.169.10.0/255.255.255.0 -j SNAT --to-source xxx.xxx.85.113-xxx.xxx.85.115
that rule isn't completely correct, as it has no "-t nat" in it.
Quoted 2 lines
iptables -t nat -A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115
if you're asking if you should have a SNAT rule followed by a SAME rule that are identical except for the target, then no--the SAME rule will never be matched in that scenario.
if you want to combine SAME and SNAT--put the SAME rule first and have it match only on the specific ports used by the application in question that cannot handle src IP changes; and the SNAT rule second to catch the rest of the general traffic.
HTH...
-j
--
"Chris: Where do you think you go when you die?
Southern boy: I learned from church that if you're good you go to heaven but if you're bad, you go to a place where the dead believe they're still living and they pray for death but death won't come.
Chris: UPN?"
--Family Guy
Hi Jason just to inform you what have I learn with the configuration from you.
With this rule:
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115, it is intermitent, i mean sometimes it connects to voice but sometimes it does't.
With this rule: iptables -t nat -A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113
It is ok, it connects all the time, I have not encounter any entermitent connection. This is ok but one might do some nasty things on the net then the single IP might be block.
But anyway thank you very much for this great help, I really really appreciate it.
Regards,
Wennie
----- Original Message -----
From: "Jason Opperisano" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 12, 2005 3:39 PM
Subject: Re: msn and yahoo messenger voice chat
Quoted 12 lines · Wennie V. Lagmay
Quoted 6 lines
Thank you Jason, I just want to confirm is it to be writen
like this alone:
iptables -t nat -A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115yes--SAME can completely replace your SNAT rule, if you so desire.
Quoted 2 lines
or the original SNAT plus SAME like this :
IPTABLES -A POSTROUTING -s 192.169.10.0/255.255.255.0 -j
SNAT --to-source
Quoted 29 lines
Quoted 1 line
xxx.xxx.85.113-xxx.xxx.85.115
that rule isn't completely correct, as it has no "-t nat" in it.
Quoted 2 lines
iptables -t nat -A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115
if you're asking if you should have a SNAT rule followed by a SAME rule that are identical except for the target, then no--the SAME rule will never be matched in that scenario.
if you want to combine SAME and SNAT--put the SAME rule first and have it match only on the specific ports used by the application in question that cannot handle src IP changes; and the SNAT rule second to catch the rest of the general traffic.
HTH...
-j
--
"Chris: Where do you think you go when you die?
Southern boy: I learned from church that if you're good you go to heaven but if you're bad, you go to a place where the dead believe they're still living and they pray for death but death won't come.
Chris: UPN?"
--Family Guy
Quoted 6 lines · Wennie V. Lagmay
Hi Jason just to inform you what have I learn with the configuration from you.
With this rule:
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115, it is intermitent, i mean sometimes it connects to voice but sometimes it does't.
try using the "--nodst" option:
iptables -t nat -A POSTROUTING -s 192.169.10.0/24 \
-j SAME --nodst --to xxx.xxx.85.113-xxx.xxx.85.115-j
--
"Stewie: How deliciously evil. It's like something out of Stephen King.
Stephen King: Now for my 300th novel, a couple... is attacked... by a giant lamp monster.
Editor: You're not even trying anymore are you?"
--Family Guy
Thank you very much, so far its working fine.
regards,
wennie
----- Original Message -----
From: "Jason Opperisano" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 12, 2005 8:03 PM
Subject: Re: msn and yahoo messenger voice chat
Quoted 2 lines · Wennie V. Lagmay
Quoted 1 line
Hi Jason just to inform you what have I learn with the configuration
from
Quoted 21 lines
Quoted 5 lines
you.
With this rule:
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115, it is intermitent, i mean sometimes it connects to voice but sometimes it does't.try using the "--nodst" option:
iptables -t nat -A POSTROUTING -s 192.169.10.0/24 \ -j SAME --nodst --to xxx.xxx.85.113-xxx.xxx.85.115-j
--
"Stewie: How deliciously evil. It's like something out of Stephen King.
Stephen King: Now for my 300th novel, a couple... is attacked... by a giant lamp monster.
Editor: You're not even trying anymore are you?"
--Family Guy
Hi Jason,
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --nodst --to xxx.xxx.85.113-xxx.xxx.85.115
the above rules are intermitent., the rule below is working fine. iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113
Im using iptables version 1.2.9, I'm just wondering if the above intermitent rules will work fine on lattest iptables verion. Do you know the lattest and most stable iptables version?
Thank you very much,
Wennie
Quoted 6 lines · Wennie V. Lagmay
Hi Jason,
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113-xxx.xxx.85.115
iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --nodst --to xxx.xxx.85.113-xxx.xxx.85.115
that second rule will never be matched. get rid of the first rule, and just use the second.
Quoted 6 lines
the above rules are intermitent., the rule below is working fine. iptables A POSTROUTING -s 192.169.10.0/24 -j SAME --to xxx.xxx.85.113
Im using iptables version 1.2.9, I'm just wondering if the above intermitent rules will work fine on lattest iptables verion. Do you know the lattest and most stable iptables version?
the latest version is 1.3.1...my guess is that the most accepted as stable version would be 1.2.11...but this isn't your problem.
-j
--
"Stewie: It rubs the lotion on its skin or else it gets the hose again."
--Family Guy