|
Page 7 of 9 |
|
Prev |
5 6 7
8 9
|
Next
Re: [Announce] genwall a simple iptables firewall
1 Attachment(s)
Next releases 1.0.7 and 1.0.8 will have some import function for the domain filter so you can add some file with advertising domains (ads blocker).
changelog genwall (1.0.8) * added progressbar check double hostschangelog genwall (1.0.7) * load host list from internetThe new button "load file" will bring you to the download and import function. The download button will download the specified file to the specified location. When you import files with the button "Load and append to list" all lines in the files starting with 0.0.0.0 will get imported/append to the listwidget. So you can already have some items in the listwidget and you can also import different files after another. You get also asked for checking double entries but this can take a while. |
Re: [Announce] genwall a simple iptables firewall
1 Attachment(s)
Hi,
in the last version 1.0.9 I included a setup page for a bt pan connection. Prerequirements for pan: [N900] /etc/bluetooth/main.conf comment out: DisablePlugins =network,input,hal Here some instruction how to use it for: Linux BT Connect a (old) linux system with bt pan: - [PC] make the adapter visible Code:
hciconfig -a hci0 piscan- [PC] if you don't know the bt-mac address from N900 you can look for example with this command Code:
hcitool scanCode:
pand --connect 00:00:00:00:00:00-[PC] bring device up and get ip address Code:
ifconfig bnep0 upConnect a (new) linux system with bt pan: - [PC] make the adapter visible Code:
hciconfig -a hci0 piscan- [PC] pair with your N900 by add a new device - [PC] run bluez script with the mac from N900 Code:
cd /usr/share/doc/bluez/examples- [PC] if the device is not up bring device up and get an ip address Code:
ifconfig bnep0 upIn case you want forward internet from pc to phone [PC] avtivate forwarding old Code:
echo 1 > /proc/sys/net/ipv4/ip_forwardCode:
sysctl -w net.ipv4.conf.all.forwarding=1Code:
sudo iptables -t nat -A POSTROUTING -s 192.168.8.0/24 -j MASQUERADEIn case you want forward internet from N900 to PC -[N900] before you push the start button select dnsmasq forward your N900 should have proper internet connection and a bt pan connection - [PC] set a default route to ip from N900 bnep0 device Code:
sudo route add default gw 192.168.8.2{local-basics} 1.:select wan device gprs/usb/wlan 2. I would "accept connection from local machine"... makes live easier 3. If you want to connect from pc->N900 without openning ports. I would also recommend to "Accept connection from local lan". {for/out} 4. activate forwarding and set lan device to bnep 5. Masquerade wan device should be active 6. If you like to connect for example from wifi to ssh from the pc you can forward the port to the ip address from pc bnep0 device. Use for ssh the ip from n900 wifi/usb/gprs and it will automatic connect to the pc. {local-basics} 7.gen rules 8. push the start button |
Re: [Announce] genwall a simple iptables firewall
Here a quick tutorial for:
Windows BT Prerequirements for pan: [N900] /etc/bluetooth/main.conf comment out: DisablePlugins =network,input,hal Here some instruction how to use it: Connect a windows system with bt pan: - [N900] switch on bluetooth and make it discoverable - [PC] right click bt icon join a personal network - [PC] add device and pair N900 - [PC] right click on N900 and make a connection as access point - [N900] genwall go to route->BT tab and save you ips and choose dnsmasq only lan. Now you can push the start button. In case you want forward internet from N900 to PC -[N900] before you push the start button to make a bt pan connection select dnsmasq forward your N900 should have proper internet connection and a bt pan connection - [N900] genwall {local-basics} 1.:select wan device gprs/usb/wlan 2. I would "accept connection from local machine"... makes live easier 3. If you want to connect from pc->N900 without openning ports. I would also recommend to "Accept connection from local lan". {for/out} 4. activate forwarding and set lan device to bnep 5. Masquerade wan device should be active {local-basics} 6.gen rules 7. push the start button In case you want forward internet from pc to phone in windows 7 the bt stack doesn't support ICS for BT PAN. Look for the Toshiba stack. |
Re: [Announce] genwall a simple iptables firewall
Thanks for the tutorials I would consider sticking them over on wiki.maemo.org so they don't get lost in the thread.
|
Re: [Announce] genwall a simple iptables firewall
Quote:
|
Re: [Announce] genwall a simple iptables firewall
Quote:
Quote:
only a very well structured help in a nutshell would be really helpful. |
Re: [Announce] genwall a simple iptables firewall
New version out 1.1.2
* added help system * removed unset forward script bug (please delete the iptable scripts in /home/user/.genwall/ firestop.sh and firestart.sh. If you like you can also use the "delete genwall user data and exit" button. Be aware because then all files in /home/user/.genwall gets deleted). * added load file for black list in (not recommended when generate script for N900) as blacklist you should use only a couple of ips or better add subnetworks which are used from attackers). Quote:
QtCreator Windows is not the best thing to use and some tutorials or posts telling you not the full story and some hacks are not clean. The best source was the wiki page from maemo. The new help system uses html files. Next days I will release some help files. I will not include help files in the package. They need to be manually added to following folder "/home/user/.genwall/help". Doing it like this way it is possible to write own help files or make notes to them for other systems or configurations. And they will not get replaced when updating to a new genwall version. You can also copy them to another Computer for reading. At the route->about tab a help button resides. After pushing this button a qlistwidget get filled with all html files in the help folder. There is only one thing you should know, do not use white spaces in the names. You should do like this: "My_First_Help.html". After a double click on an entry a new window with the help gets created. You can switch between the help and genwall app with the quick buttons (go back / help). When minimizing you can also switch to other windows. You are welcome to contribute your own help files. |
Re: [Announce] genwall a simple iptables firewall
Released genwall help v1.0,
still it is not complete but a good start.
How to use the help see the post above. |
Re: [Announce] genwall a simple iptables firewall
2 Attachment(s)
New genwall for the N9(50)!
Downloadable from first post (genwall_1.0.2_N950.deb) Requirements
How to start...open a terminal: Code:
devel-suNow you can start genwall again. |
Re: [Announce] genwall a simple iptables firewall
@halftux
brilliant! :) (what about openrepos.net ?) |
| All times are GMT. The time now is 00:25. |
Page 7 of 9 |
|
Prev |
5 6 7
8 9
|
Next
vBulletin® Version 3.8.8