BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Placing SIP Server in DMZ or use DNAT?
- Subject: [Discuss] Placing SIP Server in DMZ or use DNAT?
- From: derek at ihtfp.com (Derek Atkins)
- Date: Wed, 22 May 2019 12:55:59 -0400
- In-reply-to: <20190522164456.mwuevpvfiptm65lc@randomstring.org>
- References: <sjmimu239qd.fsf@securerf.ihtfp.org> <20190522133400.nwy7nrorauyl3vod@randomstring.org> <45bafe943683a555a00c575d3cd92262.squirrel@mail2.ihtfp.org> <20190522164456.mwuevpvfiptm65lc@randomstring.org>
Dan,
On Wed, May 22, 2019 12:44 pm, Dan Ritter wrote:
>
> eth0: .121/29
> eth1: 10.1.1.1/30
> eth2: 192.168.0/24
> eth4: ...
>
> then SIP uses 10.1.1.2/30 with 10.1.1.1 as a gateway, and your
> router adds a static route for .122/32 with 10.1.1.2 as a
> gateway. This avoids assigning competing subnets to different
> NICs.
Hmm. So how is the SIP server configured? Is it configured with eth0
having two IP addresses, .122/29 and 10.1.1.2/30? If not, then how does
the SIP server know it's supposed to be .122/29?
I'd also be worried that SIP would attempt to send out packets "from" its
.2/30 address? Do don't you still need to NAT this, somehow?
> Yes, you need to turn on proxy arp on eth0:
>
> echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
>
> so it will answer for the .122 when the modem asks.
>
> (If the modem spoke a routing protocol, you could advertise
> reachability through that, but odds are good it does not.)
I am fairly sure it does not. It's an Arris NVG599.
In my ACTUAL implementation I actually don't need proxyarp because I've
got one more box (which I didn't show earlier) which ensures that all of
the /29 traffic gets sent to the ERPro (except for .126/29, which gets
shunted over to the Modem). I could change that so that .122/29 gets sent
to the SIP box, and the rest to the ERPro. Or I could have it all sent to
the ERPro and then have the SIP box on another port -- but then I need to
figure out how to configure that port and how to configure the SIP server,
which I am still confused about as per above.
> -dsr-
-derek
--
Derek Atkins 617-623-3745
derek at ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
- Follow-Ups:
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- References:
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- From: derek at ihtfp.com (Derek Atkins)
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- From: derek at ihtfp.com (Derek Atkins)
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Placing SIP Server in DMZ or use DNAT?
- Prev by Date: [Discuss] Placing SIP Server in DMZ or use DNAT?
- Next by Date: [Discuss] Placing SIP Server in DMZ or use DNAT?
- Previous by thread: [Discuss] Placing SIP Server in DMZ or use DNAT?
- Next by thread: [Discuss] Placing SIP Server in DMZ or use DNAT?
- Index(es):
