I have this startup-script for my router settings that establishes a IPSec VPN connection via VPNC. But i cannot figure out how to open tcp and udp ports to an IP on the network.

The code looks really weird when I paste it, so here is a screenshot (click to make larger). Hope that it is okay.

screenshot of my code

The code not indented correctly is the code I've pasted. The script is a combination of 2 scripts, that used to work. What am I doing wrong?

link|improve this question
feedback

migrated from stackoverflow.com Jul 2 '11 at 19:12

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.