两个网段192.168.1.0和192.168.2.0要实现互访和文件共享,用Ros实现过程 1、两个网卡分别设置IP为 A 192.168.1.1/24 B 192.168.2.1/24 2、在IP firewall Nat 中新两个Nat规则 (1) ====General==== chain: srcnat src. Address:192.168.1.0/24 dst. Address:192.168.2.0/24 ====Action==== Action:src-nat To Addresses:192.168.2.1 (2) ====General==== chain:srcnat src. Address:192.168.2.0/24 dst. Address:192.168.1.1/24 ====Action==== Action:src-nat To Addresses:192.168.1.1
|