IP Transparency passes the cellular IP address of a Red Lion Sixnet SN or RAM series router through to one device connected to one of its Ethernet ports. The router takes all inbound traffic on its cellular interface and passes it to that device, so the device behaves as if it had the cellular connection itself.
Use it when a legacy firewall or VPN concentrator behind the router should handle the traffic, instead of the router's own firewall and VPN features.
This article describes the IP Transparency page of the router's web interface in firmware 3.29 and 4.29, which is the same in both. Older firmware has different labels.
Note: While IP Transparency is enabled, the router's firewall rules don't apply: the firewall and DMZ Host services are disabled, and so are the DHCP servers on eth0 and eth1. They return to normal operation when you disable IP Transparency.
Preparation
-
A router that supports IP Transparency:
- All SN and RAM series routers support IP Transparency.
- A working cellular connection. The cellular interface is the one whose IP address is passed through.
-
The device that will receive the cellular IP address:
- For example a firewall, router, or VPN concentrator, connected to the Ethernet port you will select as the internal interface.
- The cellular IP address is issued to one device only. To give several devices access, connect a router or firewall here and put the other devices behind it.
- With the router's DHCP server enabled (the default), set the device's WAN port to obtain its address by DHCP.
-
Access to the router's web interface:
- Decide which management services you still need over the cellular connection (web interface, SSH, Telnet, SNMP, SixView Manager). Part 1, Step 4 sets them.
Part 1: Configure IP Transparency
Step 1: Open the IP Transparency Page
- Log in to the router's web interface.
- Navigate to Advanced > IP Transparency.
The page opens with Enable IP Transparency set to No. While IP Transparency is active, the Assigned Network Information section at the top shows the IP address, netmask and gateway passed to the device.
Step 2: Enable IP Transparency and Select the Internal Interface
- Set the following:
- Enable IP Transparency: Yes. The rest of the settings appear.
- Select Internal Interface: the Ethernet port the device is connected to, for example eth0. The cellular IP address is issued on this interface.
- Interface Speed/Duplex: Auto Detect (the default and recommended setting). Choose 10Mbps/Half, 100Mbps/Half or 100Mbps/Full only if the device needs a fixed setting: a wrong forced setting stops communication on this interface.
Step 3: Set How the Device Receives the Address
- Set the following:
- Enable DHCP Server: Yes (the default). Enabling IP Transparency turns off the router's normal DHCP servers. This setting turns on the DHCP server that issues the cellular IP address to the one device on the internal interface. Yes is recommended.
-
DHCP Subnet Type (shown when the DHCP server is enabled):
- Calculated (the default): the smallest subnet that contains the cellular IP address. It works with most routers, but nearby IP addresses fall inside this subnet and may be unreachable from the device.
- Point-to-point: a /32 subnet. Some routers don't support it.
- Wide: a Class B subnet, which keeps the unusable network and broadcast addresses away from the assigned IP address, so nearby IP addresses (for example other cellular units) stay reachable. It turns on Use Private 169.254.x.x IP, which it requires.
The recommended setting is Wide if the device supports it, otherwise Calculated.
- DHCP Lease Time: 4 Hours (the default and recommended setting). The other choices are 1 Hours, 30 Minutes, 5 Minutes and 60 Seconds.
- Use Private 169.254.x.x IP: Yes (the default and recommended setting). The router's internal interface then uses a calculated 169.254.x.x address instead of a dummy gateway address close to the cellular IP address, so fewer nearby addresses become unreachable from the device. Some Cisco routers don't handle ARP properly with this option on; if yours doesn't, try No.
Note: With Use Private 169.254.x.x IP set to No, some addresses become unreachable from the device. For example, if the carrier assigns 1.2.3.2 and the calculated mask is 255.255.255.252, the router uses 1.2.3.2/30 on the internal interface, and 1.2.3.0 and 1.2.3.3 can't be reached beyond the router.
Step 4: Keep Remote Access to the Router
With IP Transparency enabled, traffic arriving on the cellular interface goes to the device, not to the router. Each setting below keeps one port for the router itself. Traffic to that port no longer reaches the device.
- Set the following as needed:
- Allow TELNET access to this device: Yes to reach the router's Telnet server. Then set Enter TELNET Port: 2023 (the default). Connections to this port go to the router's Telnet server on port 23, while connections to port 23 still reach the device. The Telnet server must be enabled under Services > SSH/TELNET Server; the page warns you if it isn't.
- Allow SSH access to this device: Yes to reach the router's SSH server. Then set Enter SSH Port: 2022 (the default). Connections to this port go to the router's SSH server on port 22, while connections to port 22 still reach the device. The SSH server must be enabled under Services > SSH/TELNET Server.
- Allow SNMP access to this device: Yes to reach the router's SNMP agent. Then set Enter SNMP Port: 161 (the default). The SNMP agent must be enabled under Services > SNMP Agent.
- Allow access to Web UI: Yes (the default and recommended setting), with Enter Web UI Port: 10000 (the default). Connections to this port go to the router's web interface on port 10000, and port 10001 is kept for the router too, to support the HTTPS redirect. Select No to pass these ports through to the device.
- Allow access by SixView Manager: Yes (the default and recommended setting) to keep TCP port 7785 for remote check-in requests from a SixView Manager server. Select No to pass this port through to the device.
- Enable Out-Of-Band Port Redirect: Yes if you use Advanced > Out-of-Band Mgt on this router. The ports configured there are then kept for the router. The default is No.
Step 5: Limit IP Transparency to One Device (Optional)
- Set the following:
- Enter MAC filter: the MAC address of the device, in the form nn:nn:nn:nn:nn:nn, where each nn is a hexadecimal number. Only packets from that MAC address are passed through. Leave the field empty to turn MAC filtering off.
Part 2: Redirect Ports (Optional)
Port redirection maps a port on the cellular interface to a different port on the device. For example, if the device runs a web server on port 80 but the carrier or an upstream router blocks port 80, redirect external port 8080 to internal port 80, protocol TCP.
Step 1: Add a Port Redirect
- Set Enable Port Redirecting: Yes. The Port Re-directs table appears.
- Click Add.
- In Port Re-direction Settings, set the following:
- External Port #: the port that incoming connections are sent to on the cellular interface, for example 8080.
- Internal Port #: the port that the device listens on, for example 80.
- Protocol: TCP or UDP.
- Click Finish. Repeat for each port you need.
Part 3: Restrict Traffic to Known Subnets (Optional)
Step 1: Choose the Restriction Method
- Set Enable Traffic Restrictions: Yes. The Traffic Restrictions section appears.
- Set Select method of traffic restriction to one of:
- None: no filtering. The subnet list has no effect.
- In: new incoming connections are allowed only from the listed subnets. The device can still open outbound connections to any address.
- Only: connections to and from the listed subnets only, inbound and outbound.
Step 2: Add the Allowed Subnets
- Click Add.
- In Traffic Restriction Settings, set the following:
- Enter Subnet: the subnet in CIDR form, for example 10.100.100.0/24. For a single IP address, use /32.
- Click Finish. Repeat for each subnet.
Part 4: Save and Apply
Step 1: Apply the Settings
- Click Apply to make the settings take effect now, or Save to store them and use them after the next reboot.
- If a DHCP server or the firewall is enabled, the router says that a sub-system conflict has been detected and lists the services that will be disabled while IP Transparency is enabled. Click OK to continue.
- Connect the device to the internal interface, if it isn't already, and let it obtain its address.
Step 2: Check the Assigned Address
- Navigate to Advanced > IP Transparency again.
- Check that Assigned Network Information shows the Assigned IP Address, Assigned Netmask and Assigned Gateway, and that the device has received the same IP address.
On the router's Status page, the cellular interface's IP Address column shows IP Transparency Enabled instead of an address.
Part 5: Frequently Asked Questions (FAQ)
Question: Can more than one device use the cellular IP address?
Answer: No. The address is issued to one device on the internal interface. If several devices need access, connect a router or firewall to the internal interface and put the devices behind it.
Question: Do the router's firewall rules still apply?
Answer: No. Enabling IP Transparency disables the firewall and the DMZ Host service, so the device behind the router must provide its own protection. Use Enable Traffic Restrictions (Part 3) or Enter MAC filter (Part 1, Step 5) to limit what passes through.
Question: How do I reach the router's web interface over the cellular connection?
Answer: Set Allow access to Web UI to Yes and connect to the cellular IP address on the Enter Web UI Port port (10000 by default). If you set it to No, that port goes to the device instead.
Question: How do I reach the router's web interface from the local Ethernet side while IP Transparency is enabled?
Answer: The router keeps 192.168.0.1 (mask 255.255.255.0) on the internal interface as a fallback address. Connect a PC to the internal interface, give it a static IP address in the 192.168.0.x range (for example 192.168.0.100, mask 255.255.255.0), and browse to http://192.168.0.1:10000.
Question: How do I turn IP Transparency off?
Answer: Set Enable IP Transparency to No and click Apply. The router says which services (DHCP servers, firewall) return to normal operation.
Disclaimer
It is the customer's responsibility to review the advice provided herein and its applicability to the system. Red Lion makes no representation about specific knowledge of the customer's system or the specific performance of the system. Red Lion is not responsible for any damage to equipment or connected systems. The use of this document is at your own risk. Red Lion standard product warranty applies.
HMS Technical Support
If you have any questions or trouble contact HMS Technical Support by clicking here.