Created
January 25, 2018 16:50
-
-
Save DuffleOne/ee770a4c47b806795903693dfc906b4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"service": { | |
"nat": { | |
"rule": { | |
"1000": { | |
"description": "DNAT for IIS Webserver", | |
"destination": { | |
"address": "195.99.88.112", | |
"port": "80,443" | |
}, | |
"inbound-interface": "eth2", | |
"inside-address": { | |
"address": "192.168.1.10" | |
}, | |
"protocol": "tcp", | |
"type": "destination" | |
}, | |
"1001": { | |
"description": "Hairpin for IIS Webserver", | |
"destination": { | |
"address": "195.99.88.112", | |
"port": "80,443" | |
}, | |
"inbound-interface": "eth0+", | |
"inside-address": { | |
"address": "192.168.1.10" | |
}, | |
"protocol": "tcp", | |
"type": "destination" | |
}, | |
"5001": { | |
"description": "SNAT for IIS Webserver", | |
"outbound-interface": "eth2", | |
"outside-address": { | |
"address": "195.99.88.112" | |
}, | |
"protocol": "all", | |
"source": { | |
"address": "192.168.1.10" | |
}, | |
"type": "source" | |
} | |
} | |
} | |
}, | |
"firewall": { | |
"name": { | |
"WAN_IN": { | |
"rule": { | |
"1000": { | |
"action": "accept", | |
"description": "IIS Webserver", | |
"destination": { | |
"address": "192.168.1.10", | |
"port": "80,443" | |
}, | |
"protocol": "tcp", | |
"log": "disable" | |
}, | |
"1001": { | |
"action": "accept", | |
"description": "Hairpin FW for IIS Webserver", | |
"destination": { | |
"address": "192.168.1.10", | |
"port": "80,443" | |
}, | |
"protocol": "tcp", | |
"source": { | |
"address": "195.99.88.112" | |
}, | |
"log": "disable" | |
} | |
} | |
} | |
} | |
}, | |
"port-forward": { | |
"rule": { | |
"3001": { | |
"description": "Port-forward for IIS Webserver", | |
"forward-to": { | |
"address": "192.168.1.10" | |
}, | |
"original-port": "80,443", | |
"protocol": "tcp" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment