Difference between revisions of "RMU build Gen-1.5: II. Proxmox - E. Add LAN Network Device"
From Internet Computer Wiki
Katie.peters (talk | contribs) (Finished page) |
Katie.peters (talk | contribs) |
||
Line 26: | Line 26: | ||
post-down iptables -t nat -A POSTROUTING -s '10.10.100.0/24' -o vmbr0 -j MASQUERADE</syntaxhighlight> | post-down iptables -t nat -A POSTROUTING -s '10.10.100.0/24' -o vmbr0 -j MASQUERADE</syntaxhighlight> | ||
#*[[File:Screenshot 2023-12-18 at 3.22.14 PM.png|800x800px]] | #*[[File:Screenshot 2023-12-18 at 3.22.14 PM.png|800x800px]] | ||
+ | #Save and quit the file. | ||
+ | #After saving the file, in the shell run: <code>cat /proc/sys/net/ipv4/ip_forward</code> | ||
+ | #*(result should be "<code>0</code>")<syntaxhighlight lang="rust"> | ||
+ | ifup vmbr1 | ||
+ | cat /proc/sys/net/ipv4/ip_forward | ||
+ | </syntaxhighlight> | ||
+ | #(result should be "<code>1</code>") | ||
+ | #*[[File:Screenshot 2023-10-30 at 2.49.13 PM.png]] | ||
==Continue to next section: [[RMU build Gen-1.5: II. Teleport - A. Create Teleport CT|II. Teleport - A. Create Teleport CT]]== | ==Continue to next section: [[RMU build Gen-1.5: II. Teleport - A. Create Teleport CT|II. Teleport - A. Create Teleport CT]]== | ||
Go to the index of the [[RMU build Gen-1.5|Gen-1.5 RMU build runbook]]. | Go to the index of the [[RMU build Gen-1.5|Gen-1.5 RMU build runbook]]. |
Revision as of 18:08, 23 February 2024
This page is part of the Gen-1.5 RMU build runbook.
Go back to the previous section: D. Download ISO Images
E. Add LAN Network Device
- Select
RMU
>Network
- Select
Create
>Linux Bridge
- Bridge
vmbr1
with IP10.10.100.1/24
(CIDR is required) on Bridge porteno2
, commentLAN
- Create another Bridge and set Name to
vmbr2
with IPempty
on Bridge porteno5
, commentWAN
. - After creating the bridge, select the
Apply Configuration
button - Select your RMU device on the left side. (Note: Everything below this step is not needed when creating the linux bridge vmbr2)
- Select
Shell
- Open the following file with your favorite text editor (vi, nano, emacs etc)
/etc/network/interfaces
- Add the following lines at the end of the
vmbr1
section (before theLAN
comment):- Ensure that the spacing is correct:
post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 443 -j DNAT --to 10.10.100.22:443 post-up iptables -t nat -A POSTROUTING -s '10.10.100.0/24' -o vmbr0 -j MASQUERADE post-down iptables -t nat -A POSTROUTING -s '10.10.100.0/24' -o vmbr0 -j MASQUERADE
- Save and quit the file.
- After saving the file, in the shell run:
cat /proc/sys/net/ipv4/ip_forward
- (result should be "
0
")ifup vmbr1 cat /proc/sys/net/ipv4/ip_forward
- (result should be "
- (result should be "
1
")
Continue to next section: II. Teleport - A. Create Teleport CT
Go to the index of the Gen-1.5 RMU build runbook.