SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
pepunkOffline



Joined: Sep 05, 2009
Posts: 4

Status: Offline
Posted: Oct 01, 2009 - 08:41 AM Reply with quote Back to top
I've just setting SIP Express Router and Mediaproxy in 1 PC. Then, I'm setting in NAT Router that only activated for MASQUERADE like this:

iptables -A POSTROUTING -s 172.17.2.0/24 -o eth1 -j MASQUERADE

NB:I assume in network 10.100.0.0/24 (eth1) as public IP and 172.17.2.0/24 as private IP.

When I call with x-lite and activated mediaproxy service, the connection running well with 2 direction (full duplex from 10.x.x.x to 172.x.x.x conversely).But,when I stop mediaproxy service (for proving that voice packet if pass NAT will connect half duplex or maybe broken),apparently this connection still running well with 2 direction.

my question,,
why this happened?
are having trouble with mediaproxy or SIP Express Router?
i'm confusing,,

thanks very much,,
Smile
View user's profile Send private message
maziloOffline
Moderator


Joined: Feb 09, 2005
Posts: 2280
Location: USA
Status: Offline
Posted: Oct 01, 2009 - 12:06 PM Reply with quote Back to top
pepunk :
I've just setting SIP Express Router and Mediaproxy in 1 PC. Then, I'm setting in NAT Router that only activated for MASQUERADE like this:

iptables -A POSTROUTING -s 172.17.2.0/24 -o eth1 -j MASQUERADE

NB:I assume in network 10.100.0.0/24 (eth1) as public IP and 172.17.2.0/24 as private IP.

Just out of curiosity, did you mean 10.100.0.0 as your router WAN IP Address? Also, the 10.100.0.0 address is under subnet class A and its netmask should be 255.0.0.0, shouldn't it? If so, the 172.17.2.0 address which is under subnet class B should have a netmask of 255.255.0.0, shouldn't it?
View user's profile Send private message
pepunkOffline



Joined: Sep 05, 2009
Posts: 4

Status: Offline
Posted: Oct 01, 2009 - 01:39 PM Reply with quote Back to top
mazilo :

Just out of curiosity, did you mean 10.100.0.0 as your router WAN IP Address? Also, the 10.100.0.0 address is under subnet class A and its netmask should be 255.0.0.0, shouldn't it? If so, the 172.17.2.0 address which is under subnet class B should have a netmask of 255.255.0.0, shouldn't it?


i just setting as my experiment,i think it doesn't matter with subnet in private network 10.x.x.x and 172.x.x.x to setup with prefix 24,i just assumed that 10.x.x.x as a public network and 172.x.x.x as private network to configure NAT,,

cmiiw,,
Smile
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.