Private
Public Access
11
1

Update Setup Computer IOC Server

2023-08-09 21:56:15 +02:00
parent a7aacc93e5
commit 08c31635db

@@ -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
```