hi
recently i have got one problem with openvpn and suse firewall…
is like this…
i got my pc with opensuse 11.2 making my home router
and got openvpn installed for me to work outside home if need …
the problem is when my DSL renew ip
so if my connection fails i have one script on cron that till today was working like a charm
this scrip is verifying the connection minute to minute and if dsl down
restart openvpn and network interfaces
i have make a custom string match to tun0 in yast → firewall network interfaces and assign to internal network zone …
the problem is that some services like apache is with the doors blocked every time the connection down and up…
i have try to watch in /var/log/firewall and var/log/messages and nothing appear …
for solve this situation i get 2 methods … one is to stop the firewall and start again and the services will be rolling again inside the openvpn the other is stop and start again the openvpn…
sometimes restart openvpn do not fix the problem, i must get in yast → firewall and make start stop is the only way…
so i m thinking that the problem could be the iptables…
now i have add to the script that restart the network interfaces and the vpn one sleep of 3 , 6 , 10 seconds because i have think that was a problem the services restarting … but no the problem stills append …
another thing that is strange, whe i run ->yas->firewall and yast show me the log that is gonna write to iptables i watch in that that tun0 is on unknow zone but i have the custom string with tun0 to the internal network
and is working because after this boring situation the when i restart the openvpn or the stop and start the suse firewall
all the traffic is permitted so i think that the custom string is in the right place …
and i have removed the string just to check and if i make that i can t to pass any traffic so the the custom string to apply tun0 to internal network is working…
any ideas or tips ??
Tank s