[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Startup-script changing firewall settings each time domu (re)starts or gets created
Hi list, has anyone an idea on where to put some custom startup-script in addition to the default scripts (network-bridge and vif-bridge). I have xen bridge setup running fine and want to put some firewall rules in place and have them refreshed, every time a special domu is created or (re)started. Something like this: ... INTERFACE=`xm list $NAME | tail -1 | awk '{print $2}'` iptables -A FORWARD -m physdev --physdev-in vif${INTERFACE}.0 -j $IN iptables -A $IN -s 192.168.161.82 -p tcp --sport 3389 -d 192.168.161.216 -j ACCEPT ... The Script is working fine an can be executed manually with the desired results. Any input is highly welcome Guido _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |