Update Setup Computer IOC Server
@@ -65,8 +65,14 @@ sudo mkdir /export/sls/ifc-exchange
|
||||
/home/control/work/stxm/IOCServer/sync_scripts/sync_eldk
|
||||
|
||||
```
|
||||
- prepare NAT routing
|
||||
```
|
||||
#add to /etc/sysctl.d/99-sysctl.conf
|
||||
net.ipv4.ip_forward=1
|
||||
```
|
||||
|
||||
-add NAT routing
|
||||
|
||||
- add NAT routing
|
||||
```
|
||||
sudo iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -o eno1 -j MASQUERADE
|
||||
sudo iptables-save > /etc/iptables/rules.v4
|
||||
@@ -74,11 +80,6 @@ sudo iptables-save > /etc/iptables/rules.v4
|
||||
|
||||
```
|
||||
|
||||
add
|
||||
```
|
||||
net.ipv4.ip_forward=1
|
||||
```
|
||||
to /etc/sysctl.d/99-sysctl.conf
|
||||
|
||||
- copy server config files
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user