All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] voip
@ 2003-09-16  0:24 ThE PhP_KiD
  0 siblings, 0 replies; 2+ messages in thread
From: ThE PhP_KiD @ 2003-09-16  0:24 UTC (permalink / raw)
  To: lartc

Hi,

I have a linux router:

INTERNET<--- eth0 LINUX router  eth1 --> LAN

---> host1
---> host2
---> ...
---> VoIP device.

Linux router haves:

- kernel 2.4.20,
- iptables 1.2.8
- patchs h323 netfilter
- other patchs.

I want to connect to a with my VoIP device, to
a friend that haves ADSL connection, and VoIP device.

Him can to connect to other users with ADSL and
VoIP, but not with me.

My linux haves severals publics IPs over eth0.

One of them are full forwarded to VoIP devide:

iptbles -A PREROUTING -t nat -s aa.aa.aa.aa -j DNAT --to-destination
bb.bb.bb.bb

iptables -A POSTROUTING -t nat -s bb.bb.bb.bb -j SNAT --to-source
aa.aa.aa.aa

where
	aa.aa.aa.aa = public ip publica linux router dedicated to VoIP device
and
	bb.bb.bb.bb = VoIP privete ip inside LAN

VoIP device can be pinged from internet but I can to connect
with my friend that haves her voip device with ADSL connection.

which is the problem ?

thankyou !
mac

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LARTC] VoIP
@ 2003-11-11 16:09 ThE PhP_KiD
  0 siblings, 0 replies; 2+ messages in thread
From: ThE PhP_KiD @ 2003-11-11 16:09 UTC (permalink / raw)
  To: lartc

Hi,

what I need to make VoIP inside from my LAN to
outsite Internet ?

I have a Linux router with
- kernel 2.4.20
- iptables 1,2,8 (with Patch-o-Magic. H323)

eth0 is connected to ISP
eth1 is connected to LAN

I've SNAT next rule in order to share my internet connection:

iptables -A POSTROUTING -t nat -s 192.168.1.0/24 -j SNAT --to-source
200.69.54.124

and, of course "/proc/sys/net/ipv4/ip_forwarding = 1"

I need other netfilter patch ?

REgards
Andres.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-11 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-16  0:24 [LARTC] voip ThE PhP_KiD
  -- strict thread matches above, loose matches on Subject: below --
2003-11-11 16:09 [LARTC] VoIP ThE PhP_KiD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.