Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:wan:multiple_public_ips [2023/05/17 11:46] – optimize title vgaeteradocs:guide-user:network:wan:multiple_public_ips [2023/05/17 12:05] – [Command-line instructions] vgaetera
Line 1: Line 1:
 ====== Using multiple WAN IPs ====== ====== Using multiple WAN IPs ======
-===== Use case ===== +{{section>meta:infobox:howto_links#basic_skills&noheader&nofooter&noeditbutton}} 
-Some users get from their ISP more than one routable public IP address.\\  + 
-In this case you need to assign these IPs to new WAN interfaces and then add a DNAT and SNAT rule in firewall.\\  +===== Introduction ===== 
-In our example we assume that our ISP assigned us 100.64.0.0/29 (or 255.255.255.248) with gateway 100.64.0.1+  Some users get from their ISP more than one routable public IP address. 
-WAN interface already has the first available IP, 100.64.0.2, so we'll add .3, till .6 and they will be assigned to internal hosts on IPs 192.168.1.x.+ 
 +===== Goals ===== 
 +  * Utilize multiple WAN IPs on the same interface
 +  * Use a specific WAN IP for a specific LAN host.
  
 ===== Command-line instructions ===== ===== Command-line instructions =====
 ==== 1. Network ==== ==== 1. Network ====
-Create an alias for WAN interface.+Create an alias for WAN interface assuming that: 
 +  * ''100.64.0.3/29'' - IP address/netmask of the WAN interface. 
 +  * ''192.168.1.3'' - IP address of the LAN host.
  
 <code bash> <code bash>
Line 21: Line 26:
  
 ==== 2. Firewall ==== ==== 2. Firewall ====
-Add destination and source NAT firewall rules.+Configure destination and source NAT firewall rules.
  
 <code bash> <code bash>
  • Last modified: 2023/10/14 06:10
  • by vgaetera