Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Network Security: Firewall, NAT, QoS, IPS and more

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-06-2010, 04:49 PM
Member
 
Join Date: Apr 2009
Location: Austin, TX
Posts: 45
Default Destination or SOurce NAT setup for Mgmnt of 2WIRE modem

Here is my setup:

2 internet connections on ETH1 & ETH3 of an ASG120
a 2WIRE DSL Modem on ETH3
Cable Modem on ETH1
I can access the Astaro right now only vie the cable connection on eth1

The 2WIRE DSL modem is doing the PPPoE connection and is setup to do a Public Proxy NAT translation to one of 5 static public IP's to eth3 on the Astaro.

The eth3 interface is connected to the 2WIRE modem and is set to Cable (DHCP) mode MTU1492 and being statically assigned a public IP address from our IP pool through the 2WIRE modem . The modem is doing Public Proxy in NAT mode to the between the Astaro and the public IP address through a reservation matched to the MAC address of eth3 in the Public Proxy NAT setup. The Astaro eth3 is being assigned ONLY the public IP address and not a 192.168.1.x address.

I am having problems with the setup so I would like to access the 2WIRE management interface but can't unless I am connected directly to the DSL modem internally using a 192.168.1.0 address talking to the modem at 192.168.1.254.

The Astaro eth3 address is assigned a public IP address due to the MAC reservation in the DSL modem. I would like to change the MAC address on eth3 so I can then have eth3 pull a 192.168 address from the DSL modem then do a Destination or Source NAT rule to access the interface on the DSL modem.

How would I do a DNAT/SNAT setup to access the interface of the DSL modem? I would be coming in on eth1:8888 and want to map the traffic to http port 80 out eth3 to 192.168.1.254 but appearing to come from a 192.168.1.x address.

I am not sure if this is even possible because the DSL modem may not honor any traffic appearing to come from the mac address assigned the Public IP Nat as a 192.168.1.x source. If this is the case I thought that if I could change the MAC address on the Astaro eth3, I could pull a 192.168.1.x IP address then use the DNAT/SNAT rule to access the interface. How do I modify the MAC address on an interface on the Astaro?

I really don't want to have to go back on-site because it is a long trip.
Reply With Quote
  #2 (permalink)  
Old 02-06-2010, 08:27 PM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,156
Default

Hi, if you're not using 192.168.1.x addresses internally, it might _just work_ without any NATs (other than normal Masquerading).
I know it works with cable modems, but not sure about pppoe.

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
  #3 (permalink)  
Old 02-06-2010, 08:30 PM
Wizard
 
Join Date: Oct 2005
Posts: 2,431
Default

I have a customer with a home-based office 4 hours drive from me (their main office is in the same city we are); they have AT&T DSL with a small Astaro system in a closet... I opted to set their 2Wire DSL Modem/Router to bridged mode, and have the Astaro do the PPPOE login and perform any NAT that is required; this is a cleaner setup than having to manage 2 routers... the 2Wire is never touched after it's set to bridged mode. I'd recommend setting up any DSL connection in this manner.

Granted, though, at the time, the Bridge mode settings were well hidden on this particular 2Wire modem; I found the direct URLs needed to change it to bridged mode at DSLReports.com.
__________________
Convergent Information Security Solutions, LLC
Astaro Preferred Solution Partner
Reply With Quote
  #4 (permalink)  
Old 02-08-2010, 04:36 PM
Member
 
Join Date: Apr 2009
Location: Austin, TX
Posts: 45
Default

I ended up using the 2WIRE Public Proxy over NAT setup (never offered by AT&T support BTW). I am assigning a 192.168.1.10 address to the Astaro eth3 interface. The 2WIRE does the PPPoE connection, has a public IP address so I can ping it and the public proxy setup allows me to use the other 4 of my public IP addresses while still allowing me to access the 2WIRE management interface from any computer in the local LAN connected to the Astaro.

Now I need to be able to get to the DSL modem interface from across the VPN to eliminate having to logmein to a local computer at the restaurant. Any help with this?

eth3 assigned 192.168.1.10
DSL modem assigned 192.168.1.254 running web interface on port 80
Astaro LAN address setup on eth0 as 10.10.10.1/24
Central network LAN setup (site to Site IPSEC) is 10.10.0.0/16

I can access any device on the 10.10.10.0 network at the remote location so I know that is working.

I would like to be able to access the DSL modem management interface running at http://192.168.1.254:80 on remote Astaro's eth3 interface via internal network access only like this: http://10.10.10.1:8888 (on eth0) which is SNAT'd to 192.168.1.254 via the eth3 interface.

I have a SNAT Rule setup but it is not working:
Traffic Source - ANY
Traffic Service - Custom setup as Source 1-65535/Destination 8888
Traffic Destination - eth0 Internal Network Address (10.10.10.1)
NATMode - SNAT
Source - 192.168.1.254 (DSL Modem address connected to eth3/192.168.1.10)
Source Service - HTTP
Log Initial packets - Checked
Auto pack Filter Rule - Checked

I am having trouble figuring out how to set this up. Any suggestions?
Reply With Quote
  #5 (permalink)  
Old 02-11-2010, 02:32 PM
Member
 
Join Date: Apr 2009
Location: Austin, TX
Posts: 45
Default

Bump...
Any help with this would be great. The more I look at it the more it looks like I need to proxy the access. It there a simple way to do this?
Reply With Quote
  #6 (permalink)  
Old 02-11-2010, 10:14 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,396
Default

I bet others are just as confused as I am. I spent 5 minutes trying to understand all of that, and I'm still lost. How about a network diagram or something that lets us see the same big picture that you know?

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #7 (permalink)  
Old 02-11-2010, 10:55 PM
Member
 
Join Date: Apr 2009
Location: Austin, TX
Posts: 45
Default

Here is a diagram. I simplified it a bit but I think you will see the layout and what challenges I am trying to overcome.

Reply With Quote
  #8 (permalink)  
Old 02-11-2010, 10:58 PM
Member
 
Join Date: Apr 2009
Location: Austin, TX
Posts: 45
Default



link to it here:http://www.scottrobertmorgan.com/gal...nt+Diagram.jpg

Last edited by skydiver; 02-12-2010 at 02:41 PM.
Reply With Quote
  #9 (permalink)  
Old 02-12-2010, 05:31 AM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,156
Default

Hi, I don't think your diagram made it. Try converting it to a PNG or high-quality (95+) JPEG.

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
  #10 (permalink)  
Old 02-12-2010, 02:42 PM
Member
 
Join Date: Apr 2009
Location: Austin, TX
Posts: 45
Default

It is showing on my view. Here is a link to it on my website:
http://www.scottrobertmorgan.com/gal...nt+Diagram.jpg
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:26 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.