User Tools

Site Tools


systemrescue_as_a_router

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
systemrescue_as_a_router [2026/06/20 18:08] stevesystemrescue_as_a_router [2026/06/23 17:28] (current) steve
Line 12: Line 12:
 # The variables below are the only things that should need changing; # The variables below are the only things that should need changing;
  
-export ExtIF="enX0"                     # External Interface +export ExtIF="enX0"             # External Interface, connected to Internet 
-export IntIF="enX1"                     # Internal Interface +export IntIF="enX1"             # Internal Interface, connected to PCs 
-export Sub="11"                         # Subnet number +export Sub="192.168.11"         # Subnet number 
-export CIDR="/24"                       # Subnet mask +export CIDR="/24"               # Subnet mask 
-export IntIP="192.168.${Sub}.1"         # Internal interface address +export  IntIP="${Sub}.1"        # Internal interface address 
-export IntNet="192.168.${Sub}.0${CIDR}" # Internal Network +export IntNet="${Sub}.0${CIDR}" # Internal Network 
-export IntLow="192.168.${Sub}.50"       # Low IP lease +export IntLow="${Sub}.50"       # Low IP lease 
-export  IntHi="192.168.${Sub}.199"      # High IP lease +export  IntHi="${Sub}.199"      # High IP lease 
-export Dur="1h"                         # Lease duration +export Dur="1h"                 # Lease duration 
-export DNS1="8.8.8.8"                   # First DNS server +export DNS1="8.8.8.8"           # First DNS server 
-export DNS2="1.1.1.1"                   # Second DNS server +export DNS2="1.1.1.1"           # Second DNS server 
-export Dom="cyli.org"+export Dom="cyli.org"           # Our domain
  
 #    Replace the contents of your /etc/dnsmasq.conf file with the following  #    Replace the contents of your /etc/dnsmasq.conf file with the following 
systemrescue_as_a_router.1781978887.txt.gz · Last modified: by steve