Jump to content

Routing From Wifi To 3g Dongle


Tazzy

Recommended Posts

Hello and thanks for this project :)

I have little question how to route my wifi trafic to my 3g dongle on jasager

Firmware 1.1.1

I have manage to get my zte mf102 3g dongle to work with both 3g connection to my Swedish provider (Tele2) and activate and mounted the micro sd card in dongle.

Interfaces

PoE / LAN Port: 172.16.42.1

USB 3G Modem: 85.189.143.119

WAN / LAN Port:

Public Internet: reveal public ip

from jasager web gui i can install modules so it have contact to internet but when i connect to wifi i will not get thru to internet how can i fix this .....

Yes i know i sux at routing and iptables ;-)

Regards Tazzy

Edited by Tazzy
Link to comment
Share on other sites

Ok i found it hope the answer can help some ;)

¨

The solution was like this

iptables -A FORWARD -i eth1 -o wlan0 -s 172.16.42.0 -m state --state NEW -j ACCEPT

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -t nat -A POSTROUTING -o 3g-wan2 -j MASQUERADE

Now i can get traffic thru the jasager super ;)

I made a little "gerilla pack" with battery pack and dongle.

http://www.picvalley.net/v.php?p=u/2680/211252332218688759791334772488np38pU0kCkG8maMPOd6R.JPG

http://www.picvalley.net/v.php?p=u/2416/56298487120938347411334772494XcuAeTcjsbfStfr8xgoQ.JPG

// Tazzy

Link to comment
Share on other sites

very nice pics...

what battery and cable are you using?

NTF

Hi NTF

Its a noname portable powerbank 6000mAh with two usb 1Amp out

the cable is a power cable to some old usb netcard i had in my junk box.

// Tazzy

Link to comment
Share on other sites

Nice set-up but without usb storage is it usable for anything other than giving free wifi and being chuffed that the device said yes to clients? Any type of monitoring would fill the local storage up with log file's quite quickly wouldn't it? I suppose you could pivot an attack on an end client's machine once they are in your ip range but to actively review traffic would need storage for the packages and logs. We really need two usb ports, anyone tried an unpowered usb hub?

Link to comment
Share on other sites

Nice set-up but without usb storage is it usable for anything other than giving free wifi and being chuffed that the device said yes to clients? Any type of monitoring would fill the local storage up with log file's quite quickly wouldn't it? I suppose you could pivot an attack on an end client's machine once they are in your ip range but to actively review traffic would need storage for the packages and logs. We really need two usb ports, anyone tried an unpowered usb hub?

Hello Isolot

I use a 16gb microsd card in my 3g dongle for that ;)

// Tazzy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...