Routed WAN subnet on Linux firewall
DComTalk.com Forum Index DComTalk.com
Discussion of VoIP, VPN, Video Conferencen, DSL and other data commucations.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web dcomtalk.com
Routed WAN subnet on Linux firewall

 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Firewalls
Author Message
Guest






Posted: Fri Jan 14, 2005 1:52 am    Post subject: Routed WAN subnet on Linux firewall Reply with quote

OK, dumb question, but bear with me.... This does refer to an earlier
post but as this question has probably been asked many times before, I
thought it might deserve it's own reply.

My ISP has assigned me a /29 subnet for WAN addresses on my DSL line.
This is a routable block. Thus, if my address block were 24.0.8.0-7,
my ISP would have told me:

24.0.8.0 (all zeros) - ignore
24.0.8.1 Gateway ISP has asked me to reserve
24.0.8.2 |
.... | Usable address space for hosts
24.0.8.6 |
24.0.8.7 Broadcast address

A router sites between my DSL bridge and my internal net. The internal
net has two main blocks:

10.1.x.x | Internal sites
10.2.x.x | DMZ servers


I now know that I can use Linux 2.6.x series kernels to do one-to-one
NAT. What I don't know is what I'd tell it to do to handle the routed
subnet. My guess is:

10.1.x.x NAT everything out 24.0.8.1
10.2.x.2 NAT out (via one-to-one) 24.8.0.2
10.2.x.3 ....
....

But how do I tell the Linux box, any inbound packets will arrive on
24.0.8.1 and route to one of the other adddresses (24.0.8.2-6) and then
be subjet to NAT rules.
Back to top
 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Firewalls All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Solutions: Telephone Systems Electronics Satellite TV Tech & Gadgets
Powered by phpBB