[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] IpTables config file for Dom0



Hi,
  I'm still having trouble with my IPTables configuration for Dom0. Personally I've always edited the IPTables file directly:-
/etc/sysconfig/iptables
If someone could please give me a copy of their IPTables config file for Dom0 I'd very much appreciate it. I'm running FC4 and Xen is acting as a Bridge. ifconfig gives me:-
 
eth0      Link encap:Ethernet  HWaddr 00:30:48:56:60:32
          inet addr:my.ip.add.180  Bcast:my.ip.add.191  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5224433 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100625 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:349329834 (333.1 MiB)  TX bytes:26844669 (25.6 MiB)
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1958 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1958 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:348309 (340.1 KiB)  TX bytes:348309 (340.1 KiB)
 
peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:67937788 errors:0 dropped:0 overruns:0 frame:0
          TX packets:71870691 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15816156801 (14.7 GiB)  TX bytes:35775068344 (33.3 GiB)
          Interrupt:49
vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:286936 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5649081 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:74916083 (71.4 MiB)  TX bytes:385133846 (367.2 MiB)
 
vif24.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:71490158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67253334 errors:0 dropped:604 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:35302634814 (32.8 GiB)  TX bytes:15303385139 (14.2 GiB)
 
vif24.1   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:5251680 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
vif26.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:75130 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5233980 errors:0 dropped:439 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10136457 (9.6 MiB)  TX bytes:396055348 (377.7 MiB)
 
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5408593 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:284947140 (271.7 MiB)  TX bytes:0 (0.0 b)
If someone could please help it woudl be much appreciated. If I could see an example of a working config file, even a very basic one then I'm sure I could figure out what I need to do.
 
 
Lyle
 
------------------------------------------------------------
Lyle Hopkins          - CosmicPerl.com CGI Scripts -
Internet software solutions for the professional webmaster
Email: webmaster@xxxxxxxxxxxxxx
Web site: http://www.cosmicperl.com
Specializing in Affiliate Software solutions
------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.