Overview
This guide explains how to configure a UniFi OS router as an internet egress gateway for remote users connected through CloudConnexa using the OpenVPN Protocol.
After completing this configuration, internet traffic from connected CloudConnexa users is routed through the UniFi OS router before reaching external destinations.
Procedure
Sign in to the CloudConnexa Administration Portal and download the connector connection profile from Networks.
Sign in to the UniFi OS router and go to Settings > VPN > VPN Client.
Select Create New.
Configure the VPN client:
Select OpenVPN as the VPN type.
Upload the
.ovpnconnector connection profile.Because the connector profile doesn’t use username and password authentication, enter placeholder values for the username and password fields.
Select Apply.
Access the router using SSH and run:
ip rule list
- Identify the default routing table interface. It may appear similar to
201.eth8. Identify the gateway IP address for that interface:
ip r show table 201.eth8
- Note the returned gateway IP address. You use this value as the next-hop IP address for the static routes.
Return to the UniFi OS router web interface and go to Settings > Routing > Static Routes.
Create the following static routes:
0.0.0.0/1 128.0.0.0/1
Use the gateway IP address identified earlier as the next-hop IP address.
Example:
Next hop IP address: 192.168.55.1
Verify connectivity from a remote device connected to CloudConnexa by accessing an external website.
Traffic should now route through the UniFi OS router as the internet egress point.
Comments
0 comments
Article is closed for comments.