The command that you gave me will not work. IF the 192.168.0.0/24 would you want the pool to be the same sub-net?
source {
rule-set nsw_srcnat {
from zone [ Controls Gtown ];
to zone Internet;
rule nsw-src-interface {
match {
source-address 0.0.0.0/0;
destination-address 0.0.0.0/0;
}
then {
source-nat {
interface;
}
}
}
}
}
proxy-arp {
interface vlan.1 {
##
## Warning: Interface must be defined under [interfaces]
##
address {
192.168.0.30/32 to 192.168.0.35/32;
}
}
}
[edit]
root@Gtown-VPN02# commit
[edit security nat proxy-arp interface]
'vlan.1'
Interface must be defined under [interfaces]
error: commit failed: (statements constraint check failed)
[edit]
root@Gtown-VPN02# exit
The configuration has been changed but not committed
Exit with uncommitted changes? [yes,no] (yes) no
↧