make sure you have installed:
gnome-vfs-obexftp-0.4-4mdv2009.0
libobexftp0-0.22-1mdv2009.0
libopenobex1-devel-1.3-7mdv2009.0
openobex-apps-1.3-7mdv2009.0
libopenobex1-1.3-7mdv2009.0
libobexftp-devel-0.22-1mdv2009.0
obex-data-server-0.3.2-1mdv2009.0
obexftp-0.22-1mdv2009.0
obexfs-0.11-1mdv2009.0
gnome-bluetooth
Edit /etc/sysconfig/network inserting:
HOSTNAME=xxx.machine
Restart.
Install apache-mod_php package
edit .conf file
nano /etc/httpd/conf/httpd.conf
and insert:
LoadModule php5_module extramodules/mod_php5.so
AddType application/x-httpd-php .php .php5
AddType application/x-httpd-php-source .phps
and then
service httpd restart
done!
Edit /etc/wpa_supplicant.conf adding:
network={
key_mgmt=WPA-EAP
proto=WPA
eap=PEAP
scan_ssid=1
mode=0
pairwise=TKIP
password="password"
group=TKIP
identity="DOMAIN\user"
phase1="peaplabel=0"
phase2="auth=MSCHARPV2"
ssid="ap essid"
}
start wpa_supplicant daemon:
# wpa_supplicant -Dwext -iwlanx -c/etc/wpa_supplicant/wpa_supplicant.conf -dd
Then:
# iwconfig wlanx essid "ap essid"
# dhclient wlanx
If you want to redirect the web service for example, from the public IP address to a Private ones (located in your lan with private IP range) you use:
# iptables -t nat -A PREROUTING -p TCP --dport 80 -j DNAT --to-destination 10.10.0.15 (replace with yours)
In this case I’m mapping the Web service from my Public Server to a Private ones.
Note: The Public server can have the port 80 closed in its firewall rules
Nowadays, It’s very important to get a fully working/firewall on your computer or in which you put your hands. I used to use Firestarter in my Debian’s Based System, But although is very functional, I didn’t like the way to apply the rules and manage the FORWARD and OUPUT rules as well. To manage your firewall directly with iptables you can read this and find it out in a simple way.
I supose you already have iptables installed in your system.
Previously to set up rules:
# iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
# iptables -A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
General Rules:
# iptables -P INPUT DROP
# iptables -P FORWARD DROP
# iptables -P OUTPUT ACCEPT
Examples of rules:
# iptables -A INPUT -d (server address) -p FTP --dport 22 -j ACCEPT
# iptables -A INPUT -s 172.0.0.2 -d (server address) -p ICMP -j ACCEPT
# iptables -A INPUT -d (server address) -p ICMP -j DROP