Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "interfaces": {
- "ethernet": {
- "eth0": {
- "address": [
- "Primary WAN IP/29",
- "Second WAN IP/29",
- "Third WAN IP/29",
- "Forth WAN IP/29",
- "Fifth WAN IP/29"
- ]
- }
- }
- },
- "service": {
- "nat": {
- "rule": {
- "1000": {
- "description": "DNAT for Web Server For Pterdaytcl",
- "destination": {
- "address": "Second WAN IP",
- "port": "80"
- },
- "inbound-interface": "eth0",
- "inside-address": {
- "address": "Internal IP",
- "port": "80"
- },
- "protocol": "tcp",
- "type": "destination"
- },
- "1500": {
- "description": "Hairpin for Web Server For Pterdaytcl",
- "destination": {
- "address": "Second WAN IP",
- "port": "80"
- },
- "inbound-interface": "eth1",
- "inside-address": {
- "address": "Internal IP",
- "port": "80"
- },
- "protocol": "tcp",
- "type": "destination"
- },
- "5000": {
- "description": "SNAT for Web Server For Pterdaytcl",
- "outbound-interface": "eth0",
- "outside-address": {
- "address": "Second WAN IP"
- },
- "protocol": "tcp",
- "source": {
- "address": "Internal IP"
- },
- "type": "source"
- }
- }
- }
- },
- "firewall": {
- "name": {
- "WAN_IN": {
- "rule": {
- "2000": {
- "action": "accept",
- "description": "Firewall for Web Server For Pterdaytcl",
- "destination": {
- "address": "Internal IP",
- "port": "80"
- },
- "protocol": "tcp",
- "log": "enable"
- },
- "2010": {
- "action": "accept",
- "description": "Hairpin FW for Web Server For Pterdaytcl",
- "destination": {
- "address": "Internal IP",
- "port": "80"
- },
- "protocol": "tcp",
- "source": {
- "address": "Second WAN IP"
- },
- "log": "enable"
- }
- }
- }
- }
- },
- "port-forward": {
- "hairpin-nat": "enable",
- "lan-interface": [
- "eth1"
- ],
- "wan-interface": "eth0",
- "rule": {
- "2000": {
- "description": "Hairpin Portfoward for Web Server For Pterdaytcl",
- "forward-to": {
- "address": "Internal IP",
- "port": "80"
- },
- "protocol": "tcp",
- "original-port": "80"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement