127.0.0.1\n"; $rules .= "rdr on $iface inet proto gre all -> 127.0.0.1\n"; } break; case 'filter': $ext_if = get_real_wan_interface(); $rules .= "pass out on $ext_if proto gre from any to any keep state\n"; break; default: break; } return $rules; } ?>