In questi giorni mi sono installato un “serverino”, e per condividere i files tra i vari computer, ho usato NFS.
Ma sul “serverino” ovviamente c’era iptables, in configurazione firewall, e visto che era la terza volta che mi cimentavo nella configurazione delle iptables per poter consentire l’accesso NFS (dimenticandomi ogni volta i passi seguiti, o se preferite le porte lasciate “aperte” sul firewall), ho deciso scriverle e condividerle con voi.
Magari così la prossima volta non ci perdo, nuovamente, troppo tempo! 😀
for P in $(rpcinfo -p|awk '{ if (NR>1) print $4; }'|sort -u)
do
echo "NFS port $P"
$IPTABLES -A INPUT -p udp -i $IFEXT --dport $P -j LOG --log-level info --log-prefix "#NFS-U-${P}#"
$IPTABLES -A INPUT -p udp -i $IFEXT --dport $P -j ACCEPT
$IPTABLES -A INPUT -p tcp -i $IFEXT --dport $P -j LOG --log-level info --log-prefix "#NFS-T-${P}#"
$IPTABLES -A INPUT -p tcp -i $IFEXT --dport $P -j ACCEPT
done
nella mia configurazione, IPTABLES è uguale a “/sbin/iptables” e IFEXT a “eth0”
Hola. Hello I’m a spanish
Sorry by my poor english. I have a Problem with a card ati Rv100 7000 in ubuntu gutsy. I see in https://wiki.ubuntu.com/Paper0k you have this card and I have a problem and I need your help. This card crash when i active the compiz-fusion and I have to reiniciate de pc by button off. Can you help me to configurate it. Have you the same problem in gutsy?
Thanks and very good blog
@karlinux
Sorry for my english too 😀
I haven’t this type of problem…
Below my xorg.conf file, running on Gutsy
Section "Files"
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "dri"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Failsafe Device"
Boardname "ATI Radeon"
Busid "PCI:1:0:0"
Driver "radeon"
Screen 0
Vendorname "ATI"
Option "MergedFB" "off"
EndSection
Section "Monitor"
Identifier "Failsafe Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1024x768"
Horizsync 31.5-48.0
Vertrefresh 56.0 - 65.0
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Failsafe Device"
Monitor "Failsafe Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1024 768
Modes "1024x768@60" "800x600@60" "800x600@56"
"640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
EndSection
Section "ServerFlags"
EndSection
I hope it can help you 😉
Grazie per tuto i perdona per la tardanza