Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Barry R Cisna <brcisna@eazylivin.net>
To: netfilter@vger.kernel.org
Subject: sip voip traffic forwarding
Date: Sat, 03 Jan 2009 18:19:18 -0600	[thread overview]
Message-ID: <1231028358.31327.47.camel@localhost.localdomain> (raw)

Hello List,

First time posting here. I am fairly familiar with iptables rules in
general. I always use Webmin to apply rules to try and cut down on me
fatfingering things:). I am trying to get port forwarding working on my
Linux terminal server ,server to a newly built asterisk/trixbox. This is
on a default install of K12ltsp/ Centos5,default kernel. I have tried
all of the MANY how to's on trying to get the correct stuff forwarded.No
luck bottom line.

Setup: Linux server has two nics in it. eth1=public eth0=internal
Asterisk/trixbox one nic eth0
internet-->cable connection-
-->Linksys wrt54gs router to LinTS->eth1
All ports on the linksys wrt54gs are forwarded to the LinTS. (The only
purpose the linksys is really serving is wifi for a couple laptops.)
LinTS runs iptables.
I have loaded the ip_conntack_sip & ip_nat_sip modules into iptables.
Naturally, the TS has nat/MASQ setup on it with a default install.

I'll try and 'display' as best I can my setup physically.

**internet**-->wrt54gs-->eth1=LinTS=eth0(nat/masq)-->switch-->clients
						     -->asterisk/trixbox


Gateway;192.168.1.1-eth1;192.168.1.2-eth0;192.168.0.1-.dhcp/nat->clients
,asterisk

Is this do-able with the default iptables contained in Centos5,or do i
need to add some patches,and add ons?
Sidenote: I was considering setting the astersk server right on the
wrt54gs linksys,but my plan is to do away with the linksys if I can make
this work to cut down on clutter/pieces,cabling.
I would need to of course udp 5061, 10000-20000 forward to asterisk
server from LinTS eth1,eth0?.
Would someone be good enough to do a ,,1.,,2.,,3. how to accomplish
this?
Sorry for the long post.

Thanks,

Barry
                                         


             reply	other threads:[~2009-01-04  0:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-04  0:19 Barry R Cisna [this message]
2009-01-05 22:04 ` sip voip traffic forwarding Marek Kierdelewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1231028358.31327.47.camel@localhost.localdomain \
    --to=brcisna@eazylivin.net \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox