i’ve tried to look to some information about this problem but i didn’t understand how to solve that
i have an asterisk 1.8 installed on ubuntu server who has two eth interfaces (eth0 and eth1); in particular eth0 is the lan directly connected to the modem (so i use it to connect external sip client) and eth1 is a lan dedicated to VPN client ( i have a DD-WRT router that handles the pptp VPN).
Once upon a time (XD) i configured all clients only as local on the eth1 LAN (so client from internet had to use the vpn connection in order to use asterisk) and everithing worked without any problem.
After some months i decided to get available the access directly by sip protocol (so i’ve configured the other iface).
Now everything work fine except clients connected by vpn that has one way audio (vpn client hear but don’t transmit voice). I’ve noticed that there’s some problem with NAT but i didn’t find a real HOW TO manage this issue (unfortunately i’m a newbie) . Can you please help me?
this is my sip.conf gereral section
localnet=192.168.0.0/255.255.255.0 ; this is the lan connected to the modem
localnet=192.168.2.0/255.255.255.0 ; this is the lan designed for VPN
thanks in advance, i hope i had exposed well my issue!