Displaying 4 results from an estimated 4 matches for "inside_net".
2002 Dec 02
1
tc filter and fwmark
Suppose:
ipchains -A forward -s inside_net -d 0/0 -j MASQ -m 100
(similar setup with iptables:
iptables -A PREROUTING -t nat -s inside_net -d 0/0 -j SNAT
iptables -A PREROUTING -t nat -s inside_net -d 0/0 -j MARK --set_mark
100)
eth0 = outside iface
eth1 = inside iface
now:
tc filter add dev eth0 ... handle 100 fw
should catch packets ma...
2003 Dec 01
3
Re: Asterisk behind NAT << How to do it. (Leif Madsen)
> I'm pretty sure that is incorrect. The inside_net is the ip address of
> the asterisk server, and the inside_mask is the subnet mask. At least
> that is how I have mine setup in my sip.conf, and it works.
>
> inside_mask for the internal mask would make more sense to me as well :)
>
> --
> Leif Madsen <leif@hacklocalhost....
2003 Nov 27
13
Asterisk behind NAT << How to do it.
...and your RTP range (found in /etc/asterisk/rtp.conf).
Default is 10000 -> 20000
Forward ports 5060 and your RTP range to your internal Asterisk box.
For your sip.conf, you need to add three lines:
; sip.conf snippet
[general]
port=5060 ; make sure you have this line :)
inside_net=192.168.1.100 ; this is the internal ip address of
the ;
asterisk server
inside_mask=255.255.255.0 ; internal ip mask. /24 as this example
outside_addr=216.239.33.100 ; this can also be a FQDN! ie.
; my.domain.com
; .....
2004 Apr 26
0
Help with connecting 2 servers via iax
...313]: pbx.c:1858 ast_pbx_run: Timeout, but no
rule 't' in context 'sip'
voip1*CLI>
Any info would be appreciated. Thanks.
My configs are below for sip, iax, and extensions
viop1:
sip--------------
[general]
port = 5060 ; Port to bind to (SIP is 5060)
context=sip
;inside_net=192.168.1.15
;inside_mask=255.255.255.0
;outside_addr=65.243.233.251
;externip=65.243.233.251
;localmask=255.255.255.0
;localnet=192.168.1.0
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
allow=all ;allow=all
allow=ulaw ; Allow all codecs
allow=alaw
allow...