LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2001, 06:26 PM   #1
digicom
LQ Newbie
 
Registered: Aug 2001
Location: Monterrey, Mexico
Distribution: Red hat 7.0
Posts: 1

Rep: Reputation: 0
Angry Ip Route Voice Gateway


I have a e-smith server with RH7.0 with only 1 valid IP Add. the LAN is working fine.

but I have a VOip gateway instaled within my LAN, call generated from my lan can reach other h.323 GW but the Net2phone service is not working at all,

HOW can I route mi valid IP to the internal IP of my VOIP GW, with all the ports avaiable to be trasnparent for the VOIP GW,

My ISP give me another valid IP but have no bridge can LINUX route the other valid IP into my LAN? HOW?

Im really a newbie in Linux please explain as much as you can.

Thanks

Humberto

sorry for my english...
 
Old 08-22-2001, 10:43 AM   #2
alpha-wolf
LQ Newbie
 
Registered: Aug 2001
Location: Germany
Distribution: SuSE
Posts: 21

Rep: Reputation: 15
Hi
if you know about the ports for the VOIP you dont need to have an extra IP. You can use portforwarding then.
Inform yourself about the ports that you need and setup the necessary
iptables rules.
you will need
something like:
iptables -t nat -p tcp (or udp ???) -d $EXT_IP --dport $PHONE_PORT -j DNAT --to $VOIP
iptables -I FORWARD -p tcp -d $VOIP -j ACCEPT
iptables -I FORWARD -p tcp -s $VOIP -j ACCEPT

or if you already have an extra IP, it must be routed into your LAN. Activate routing (dont know for RedHat) and proxy_arp on the extenal interface and add a routing rule
# route add host $VOIP dev $INT_IF

okay that needs some knowledge, otherwise you wont unterstand what you are doing.

alpha-wolf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multi hop gateway route thllgo Linux - Networking 4 04-06-2009 01:02 PM
How do I keep gateway route across restarts? moonmoth Linux - Networking 3 09-04-2005 07:35 AM
My gateway can't route michaelsanford Linux - Networking 0 04-20-2005 05:05 PM
default route without a gateway scylla Linux - Networking 1 10-21-2004 01:40 AM
Route and Gateway Issues shaggz Linux - Networking 2 10-29-2003 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration