I have an altigen IP Phone sitting behind NAT on my home network (comcast).  I
connect to an altigen voice server on a different network, so I have my
firewall rules set up as such:

rdr pass from $voice_server to $my_ip -> $phone

Which works well for outgoing calls, but when calls are coming in, the caller
can hear me, but I can't hear them.  I'm thinking that the NAT is my issue,
but I thought I could get around it by redirecting all traffic from the voice
server to my phone.  If you guys know of something else I can try, I'd
appreciate that, however I'm considering more drastic measures.  My next step
is to place the phone outside of my nat and have it grab another public IP
address.  My openbsd router is set up as follows:

Internet ----- em0 OpenBSD fxp0 --------- 192.168.0.0/24 network
                               \
                                \ fxp1
                                  fxp2
                                  fxp3
                                  fxp4

fxp1-4 are currently empty, so I was going to connect my phone to one of those
interfaces.  The issue I'm running into in my head is that I'm wondering how
I'm going to get a public IP address from fxp1 through em0 as it is the only
thing connected to the internet.  em0 also gets its IP address through DHCP.
Two alternatives popped into my head.  The first was to set up a dhcp relay
between em0 and fxp1, but I wasn't sure how to do this.  My second option was
to bridge em0 and fxp1, but i wasn't sure if that would break the NAT to fxp0.
Any thoughts would be greatly appreciated.

Thanks,

mattias

Reply via email to