Temat: Serwer Open VPN na TP-LINK TL-WR740N

Witam posiadam router TP-LINK TL-WR740N V4 z gargoyle 1.6.2.2 by obsy
Jest możliwość zainstalowania na tym routerze Serwera VPN
Co mogę usunąć aby Open VPN się zmieściło
Aktualnie posiadam 226 KB wolnego miejsca

2

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Nie da się nic usunąć. Musiałbyś sobie skompilować okrojony obraz, ale podejrzewam, że i tak się openvpn nie zmieści.
Zawsze możesz wymienić flash na większy albo zrobić mod usb i extroot'a ( co też wiąże się z kompilacją gdyż w oryginalnych obrazach nie ma obsługi USB ).

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

3

Odp: Serwer Open VPN na TP-LINK TL-WR740N

A serwer PPTP wejdzie na ten router ? Jak go zainstalować ?

4

Odp: Serwer Open VPN na TP-LINK TL-WR740N

PPTP o ile dobrze pamiętam to da się z gui zainstalować. A czy wejdzie to nie wiem. Sprawdź.

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

5

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Weszło tylko mam do wyboru klient a ja chcę zrobić serwer
Jak zrobić ten serwer na tym routerze ?

6

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Masz jakiś problem z korzystaniem z wyszukiwarki? http://eko.one.pl/?p=openwrt-pptpd

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

7 (edytowany przez Norbix1999 2015-03-09 19:06:15)

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Adres IP mojego routera to 192.168.2.1
Zrobiłem tak :

opkg update
opkg install pptpd kmod-mppe

Plik /etc/pptpd.conf

#debug
option /etc/ppp/options.pptpd
speed 115200
stimeout 10
#localip & remoteip are not needed, ip management is done by pppd
localip 192.168.2.80
remoteip 192.168.2.81-99

Plik /etc/ppp/options.pptpd

#debug
#logfile /tmp/pptp-server.log
auth
name "pptp-server"
lcp-echo-failure 3
lcp-echo-interval 60
default-asyncmap
mtu 1482
mru 1482
nobsdcomp
nodeflate
#proxyarp
#nomppc
mppe required,no40,no56,stateless
require-mschap-v2
refuse-chap
refuse-mschap
refuse-eap
refuse-pap
#ms-dns 192.168.2.1
#plugin radius.so
#radius-config-file /etc/radius.conf

Plik /etc/ppp/chap-secrets

Norbert * mojehaslo *
user2 * haslo2 *
user3 * haslo3 *

I na koniec :
/etc/init.d/pptpd enable
/etc/init.d/pptpd start
I nie mogę się połączyć z serwerem nawet w tej sieci którą tworzy ten router

8

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Nie możesz bo? Nie przestawiłeś żadnych logów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Jan  1 01:00:16 Gargoyle syslog.info syslogd started: BusyBox v1.19.4
Jan  1 01:00:16 Gargoyle kern.notice kernel: klogd started: BusyBox v1.19.4 (2014-09-26 21:54:57 CEST)
Jan  1 01:00:16 Gargoyle kern.notice kernel: [    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #62 Sat Sep 27 08:30:21 CEST 2014
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000] MyLoader: sysp=bb2bbbd8, boardp=127f84d4, parts=59e8c444
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] bootconsole [early0] enabled
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] SoC: Atheros AR9330 rev 1
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Determined physical RAM map:
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000] Zone PFN ranges:
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000]   Normal   0x00000000 -> 0x00002000
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000] Movable zone start PFN for each node
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000] Early memory PFN ranges
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000]     0: 0x00000000 -> 0x00002000
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 802fdf20, node_mem_map 81000000
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000]   Normal zone: 8128 pages, LIFO batch:0
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Jan  1 01:00:16 Gargoyle kern.notice kernel: [    0.000000] Kernel command line:  board=TL-WR741ND-v4 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Jan  1 01:00:16 Gargoyle kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Memory: 28936k/32768k available (2256k kernel code, 3832k reserved, 425k data, 220k init, 0k highmem)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] NR_IRQS:51
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.080000] pid_max: default: 32768 minimum: 301
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.080000] Mount-cache hash table entries: 512
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.090000] NET: Registered protocol family 16
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.100000] MIPS: machine is TP-LINK TL-WR741ND v4
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.520000] bio: create slab <bio-0> at 0
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.530000] Switching to clocksource MIPS
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.530000] NET: Registered protocol family 2
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.540000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.540000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.540000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.550000] TCP: Hash tables configured (established 1024 bind 1024)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.560000] TCP reno registered
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.560000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 01:00:16 Gargoyle kern.info kernel: [    0.570000] NET: Registered protocol family 1
Jan  1 01:00:16 Gargoyle kern.debug kernel: [    0.580000] PCI: CLS 0 bytes, default 32
Jan  1 01:00:16 Gargoyle kern.info kernel: [   11.040000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.960000] ath: EEPROM regdomain: 0x0
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.960000] ath: EEPROM indicates default country code should be used
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.960000] ath: doing EEPROM country->regdmn map search
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.960000] ath: country maps to regdmn code: 0x3a
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.960000] ath: Country alpha2 being used: US
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.960000] ath: Regpair used: 0x3a
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.970000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan  1 01:00:16 Gargoyle kern.debug kernel: [   11.970000] Registered led device: ath9k-phy0
Jan  1 01:00:16 Gargoyle kern.info kernel: [   11.970000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
Jan  1 01:00:16 Gargoyle kern.info kernel: [   11.980000] cfg80211: Calling CRDA for country: US
Jan  1 01:00:16 Gargoyle kern.info kernel: [   11.990000] cfg80211: Regulatory domain changed to country: US
Jan  1 01:00:16 Gargoyle kern.info kernel: [   11.990000] cfg80211:  DFS Master region: unset
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.010000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.010000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.090000] PPP generic driver version 2.4.2
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.130000] tun: Universal TUN/TAP device driver, 1.6
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.140000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.170000] PPP MPPE Compression module registered
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.270000] GRE over IPv4 demultiplexor driver
Jan  1 01:00:16 Gargoyle kern.warn kernel: [   12.290000] ip_gre: Unknown symbol icmpv6_send (err 0)
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.390000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.700000] NET: Registered protocol family 24
Jan  1 01:00:16 Gargoyle kern.info kernel: [   12.820000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
Jan  1 01:00:16 Gargoyle kern.info kernel: [   13.050000] PPTP driver version 0.8.5
Jan  1 01:00:16 Gargoyle kern.info kernel: [   13.600000] xt_time: kernel timezone is -0000
Jan  1 01:00:16 Gargoyle kern.info kernel: [   14.370000]     Hooked IMQ after mangle on PREROUTING
Jan  1 01:00:16 Gargoyle kern.info kernel: [   14.370000]     Hooked IMQ after nat on POSTROUTING
Jan  1 01:00:16 Gargoyle kern.info kernel: [   14.370000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
Jan  1 01:00:16 Gargoyle kern.info kernel: [   14.600000] Netfilter messages via NETLINK v0.30.
Jan  1 01:00:16 Gargoyle kern.notice kernel: [   14.650000] ip_set: protocol 6
Jan  1 01:00:22 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:22 Gargoyle kern.info kernel: [   22.400000] device eth0 entered promiscuous mode
Jan  1 01:00:22 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:22 Gargoyle daemon.notice netifd: wan (831): udhcpc (v1.19.4) started
Jan  1 01:00:22 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:22 Gargoyle daemon.notice netifd: wan (831): Sending discover...
Jan  1 01:00:23 Gargoyle kern.info kernel: [   23.000000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:23 Gargoyle kern.info kernel: [   23.000000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:23 Gargoyle kern.info kernel: [   23.000000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:25 Gargoyle kern.info kernel: [   25.000000] br-lan: port 1(eth0) entered forwarding state
Jan  1 01:00:25 Gargoyle kern.info kernel: [   25.110000] eth1: link up (100Mbps/Full duplex)
Jan  1 01:00:25 Gargoyle daemon.notice netifd: wan (831): Sending discover...
Jan  1 01:00:25 Gargoyle daemon.notice netifd: wan (831): Sending select for 192.168.1.12...
Jan  1 01:00:26 Gargoyle daemon.notice netifd: wan (831): Lease of 192.168.1.12 obtained, lease time 86400
Jan  1 01:00:26 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:28 Gargoyle kern.info kernel: [   28.740000] device wlan0 entered promiscuous mode
Jan  1 01:00:29 Gargoyle kern.info kernel: [   29.090000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:29 Gargoyle kern.info kernel: [   29.090000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:31 Gargoyle kern.info kernel: [   31.090000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:02 Gargoyle authpriv.info dropbear[1189]: Running in background
Jan  1 01:00:03 Gargoyle daemon.warn httpd_gargoyle[1214]: started as root without requesting chroot(), warning only
Jan  1 01:00:03 Gargoyle daemon.notice httpd_gargoyle[1214]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan  1 01:00:04 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan  1 01:00:04 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan  1 01:00:04 Gargoyle user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: started, version 2.66 cachesize 150
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq-dhcp[1251]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: using local addresses only for domain lan
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: reading /tmp/resolv.conf.auto
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: using nameserver 192.168.1.1#53
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: using nameserver 192.168.1.1#53
Jan  1 01:00:07 Gargoyle daemon.warn dnsmasq[1251]: ignoring nameserver 192.168.2.1 - local interface
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: using local addresses only for domain lan
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq[1251]: read /etc/hosts - 2 addresses
Jan  1 01:00:07 Gargoyle daemon.info dnsmasq-dhcp[1251]: read /etc/ethers - 0 addresses
Jan  1 01:00:07 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan  1 01:00:07 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan  1 01:00:07 Gargoyle user.info sysinit: setting up led WAN
Jan  1 01:00:08 Gargoyle user.info sysinit: setting up led LAN1
Jan  1 01:00:08 Gargoyle user.info sysinit: setting up led LAN2
Jan  1 01:00:08 Gargoyle user.info sysinit: setting up led LAN3
Jan  1 01:00:08 Gargoyle user.info sysinit: setting up led LAN4
Jan  1 01:00:08 Gargoyle user.info sysinit: setting up led WLAN
Jan  1 01:00:08 Gargoyle daemon.info dnsmasq-dhcp[1251]: DHCPREQUEST(br-lan) 192.168.2.201 b8:70:f4:b4:61:4d
Jan  1 01:00:08 Gargoyle daemon.info dnsmasq-dhcp[1251]: DHCPACK(br-lan) 192.168.2.201 b8:70:f4:b4:61:4d Norbert
Mar  9 19:09:34 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Mar  9 19:10:12 Gargoyle cron.err crond[1174]: time disparity of 7460290 minutes detected
Mar  9 19:10:26 Gargoyle kern.warn kernel: [  106.470000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Mar  9 19:10:26 Gargoyle kern.warn kernel: [  106.480000]                old minutes west=0, new minutes west=-60
Mar  9 19:12:42 Gargoyle authpriv.info dropbear[1938]: Child connection from 192.168.2.201:52884
Mar  9 19:12:52 Gargoyle authpriv.notice dropbear[1938]: Password auth succeeded for 'root' from 192.168.2.201:52884
Mar  9 19:13:13 Gargoyle daemon.info pptpd[2008]: MGR: Maximum of 100 connections reduced to 19, not enough IP addresses given
Mar  9 19:13:13 Gargoyle daemon.info pptpd[2009]: MGR: Manager process started
Mar  9 19:13:13 Gargoyle daemon.info pptpd[2009]: MGR: Maximum of 19 connections available
Mar  9 19:15:49 Gargoyle authpriv.info dropbear[1938]: Exit (root): Exited normally
Success

10

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Polecenie ps - powinieneś widzieć proces pptp. Jeżeli tak to połacz się klientem i zobacz co masz w logach. Log ze startu systemu nie jest interesujący w tym przypadku.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Okej połącznie już działa ale tylko z sieci na tym routerze na mojej głównej sieci z Neostrady nie mogę się połączyć z tym serwerem

12

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Masz adres publiczny na wanie? Odblokowałeś port na firewallu?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Tak mam publiczne ip i nie odblokowałem nic w firewalu jaki port trzeba odblokować
Na tym liveboxie z neostrady powniem się normalnie podłączyć bo to nadal ta sama siec a mnie nie łączy

14

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Masz wszystko w poradniku. O firewallu też. Przeczytaj.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Do pliku /etc/config/firewall dodałem

config rule
    option name 'PPTP'
    option src 'wan'
    option dest_port '1723'
    option proto 'tcp'
    option target 'ACCEPT'
Uruchomiłem ponownie router i nadal nie działa

16

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Pokaż wyniki poleceń:

ifconfig
iptables -v -L

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: Serwer Open VPN na TP-LINK TL-WR740N

root@Gargoyle:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr A0:F3:C1:A1:FB:D1
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12696 errors:0 dropped:156 overruns:0 frame:0
          TX packets:9934 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2118772 (2.0 MiB)  TX bytes:6180410 (5.8 MiB)

br-wan    Link encap:Ethernet  HWaddr A2:F3:C1:A1:FB:D2
          inet addr:192.168.1.14  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9512 errors:0 dropped:796 overruns:0 frame:0
          TX packets:10996 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5977277 (5.7 MiB)  TX bytes:2050644 (1.9 MiB)

eth0      Link encap:Ethernet  HWaddr A0:F3:C1:A1:FB:D1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12473 errors:0 dropped:24 overruns:0 frame:0
          TX packets:9661 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2249696 (2.1 MiB)  TX bytes:6090299 (5.8 MiB)
          Interrupt:5

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:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6592 (6.4 KiB)  TX bytes:6592 (6.4 KiB)

wlan0     Link encap:Ethernet  HWaddr A0:F3:C1:A1:FB:D2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:271 errors:0 dropped:0 overruns:0 frame:0
          TX packets:602 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:50636 (49.4 KiB)  TX bytes:127186 (124.2 KiB)

wlan0-1   Link encap:Ethernet  HWaddr A2:F3:C1:A1:FB:D2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10996 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6110445 (5.8 MiB)  TX bytes:2248572 (2.1 MiB)





root@Gargoyle:~# iptables -v -L
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
    0     0 bw_ingress  all  --  br-wan any     anywhere             anywhere
  675 58788 delegate_input  all  --  any    any     anywhere             anywhere

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
    2    80 bw_ingress  all  --  br-wan any     anywhere             anywhere
   19  8510 ingress_restrictions  all  --  br-wan any     anywhere             anywhere
   27  9601 egress_restrictions  all  --  any    br-wan  anywhere             anywhere
   59 24715 delegate_forward  all  --  any    any     anywhere             anywhere

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
1318  151K delegate_output  all  --  any    any     anywhere             anywhere

Chain MINIUPNPD (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain bw_ingress (2 references)
pkts bytes target     prot opt in     out     source               destination
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total1-download-2-449 --type combined --current_bandwidth 0 --reset_interval 2 --reset_time 2 --intervals_to_save 449
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist1-download-minute-15 --type individual_dst --reset_interval minute --intervals_to_save 15
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total2-download-minute-359 --type combined --current_bandwidth 0 --reset_interval minute --intervals_to_save 359
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist2-download-900-24 --type individual_dst --reset_interval 900 --reset_time 900 --intervals_to_save 24
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total3-download-180-479 --type combined --current_bandwidth 0 --reset_interval 180 --reset_time 180 --intervals_to_save 479
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist3-download-hour-24 --type individual_dst --reset_interval hour --intervals_to_save 24
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total4-download-7200-359 --type combined --current_bandwidth 0 --reset_interval 7200 --reset_time 7200 --intervals_to_save 359
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist4-download-day-31 --type individual_dst --reset_interval day --intervals_to_save 31
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total5-download-day-365 --type combined --current_bandwidth 0 --reset_interval day --intervals_to_save 365
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist5-download-month-12 --type individual_dst --reset_interval month --intervals_to_save 12

Chain delegate_forward (1 references)
pkts bytes target     prot opt in     out     source               destination
   59 24715 forwarding_rule  all  --  any    any     anywhere             anywhere            /* user chain for forwarding */
   56 24526 ACCEPT     all  --  any    any     anywhere             anywhere            ctstate RELATED,ESTABLISHED
    3   189 zone_lan_forward  all  --  br-lan any     anywhere             anywhere
    0     0 zone_wan_forward  all  --  br-wan any     anywhere             anywhere
    0     0 reject     all  --  any    any     anywhere             anywhere

Chain delegate_input (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     all  --  lo     any     anywhere             anywhere
  675 58788 input_rule  all  --  any    any     anywhere             anywhere            /* user chain for input */
  672 58436 ACCEPT     all  --  any    any     anywhere             anywhere            ctstate RELATED,ESTABLISHED
    0     0 syn_flood  tcp  --  any    any     anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN
    2   264 zone_lan_input  all  --  br-lan any     anywhere             anywhere
    1    88 zone_wan_input  all  --  br-wan any     anywhere             anywhere

Chain delegate_output (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     all  --  any    lo      anywhere             anywhere
1318  151K output_rule  all  --  any    any     anywhere             anywhere            /* user chain for output */
1317  151K ACCEPT     all  --  any    any     anywhere             anywhere            ctstate RELATED,ESTABLISHED
    1    48 zone_lan_output  all  --  any    br-lan  anywhere             anywhere
    0     0 zone_wan_output  all  --  any    br-wan  anywhere             anywhere

Chain egress_restrictions (1 references)
pkts bytes target     prot opt in     out     source               destination
   27  9601 egress_whitelist  all  --  any    any     anywhere             anywhere

Chain egress_whitelist (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain forwarding_lan_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain forwarding_rule (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     all  --  ppp+   any     anywhere             anywhere
    0     0 ACCEPT     all  --  any    ppp+    anywhere             anywhere

Chain forwarding_wan_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain ingress_restrictions (1 references)
pkts bytes target     prot opt in     out     source               destination
   19  8510 ingress_whitelist  all  --  any    any     anywhere             anywhere

Chain ingress_whitelist (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain input_lan_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain input_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain input_wan_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain output_lan_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain output_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain output_wan_rule (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain pf_loopback_B (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain reject (3 references)
pkts bytes target     prot opt in     out     source               destination
    1    88 REJECT     tcp  --  any    any     anywhere             anywhere            reject-with tcp-reset
    0     0 REJECT     all  --  any    any     anywhere             anywhere            reject-with icmp-port-unreachable

Chain syn_flood (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 RETURN     tcp  --  any    any     anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 25/sec burst 50
    0     0 DROP       all  --  any    any     anywhere             anywhere

Chain zone_lan_dest_ACCEPT (1 references)
pkts bytes target     prot opt in     out     source               destination
    1    48 ACCEPT     all  --  any    br-lan  anywhere             anywhere

Chain zone_lan_forward (1 references)
pkts bytes target     prot opt in     out     source               destination
    2   137 pf_loopback_B  all  --  any    any     anywhere             anywhere
    0     0 ACCEPT     all  --  br-lan br-lan  anywhere             anywhere
    3   189 forwarding_lan_rule  all  --  any    any     anywhere             anywhere            /* user chain for forwarding */
    3   189 zone_wan_dest_ACCEPT  all  --  any    any     anywhere             anywhere            /* forwarding lan -> wan */
    0     0 zone_lan_src_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_lan_input (1 references)
pkts bytes target     prot opt in     out     source               destination
    2   264 input_lan_rule  all  --  any    any     anywhere             anywhere            /* user chain for input */
    2   264 zone_lan_src_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_lan_output (1 references)
pkts bytes target     prot opt in     out     source               destination
    1    48 output_lan_rule  all  --  any    any     anywhere             anywhere            /* user chain for output */
    1    48 zone_lan_dest_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_lan_src_ACCEPT (1 references)
pkts bytes target     prot opt in     out     source               destination
    2   264 ACCEPT     all  --  br-lan any     anywhere             anywhere

Chain zone_lan_src_REJECT (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 reject     all  --  br-lan any     anywhere             anywhere

Chain zone_wan_dest_ACCEPT (2 references)
pkts bytes target     prot opt in     out     source               destination
    3   189 ACCEPT     all  --  any    br-wan  anywhere             anywhere

Chain zone_wan_forward (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 MINIUPNPD  all  --  any    any     anywhere             anywhere
    0     0 forwarding_wan_rule  all  --  any    any     anywhere             anywhere            /* user chain for forwarding */
    0     0 zone_wan_src_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_wan_input (1 references)
pkts bytes target     prot opt in     out     source               destination
    1    88 input_wan_rule  all  --  any    any     anywhere             anywhere            /* user chain for input */
    0     0 ACCEPT     udp  --  any    any     anywhere             anywhere            udp dpt:bootpc /* Allow-DHCP-Renew */
    0     0 ACCEPT     icmp --  any    any     anywhere             anywhere            icmp echo-request /* Allow-Ping */
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:1723 /* PPTP */
    1    88 zone_wan_src_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_wan_output (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 output_wan_rule  all  --  any    any     anywhere             anywhere            /* user chain for output */
    0     0 zone_wan_dest_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_wan_src_REJECT (2 references)
pkts bytes target     prot opt in     out     source               destination
    1    88 reject     all  --  br-wan any     anywhere             anywhere
root@Gargoyle:~#

18

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Ty NIE MASZ publicznego adresu ip. 192.168.1.14  to nie jest publiczny adres, stoisz za kolejnym routerem/modemem. Sprawdź czy on ma przepuszczanie ruchu vpn (pptp), i przekieruj port 1723 na 192.168.1.14:1723

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Jak to sprawdzić czy przepuszcza on ruch vpn ?
Jest to livebox od tp

20

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Albo masz w gui taką opcję konfiguracyjną albo router robi to domyślnie/nie robi tego wcale. To musisz wiedzieć.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Aha to  w gui liveboxa mam szukać czegoś związanego z VPN tak ?

22

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Tak.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Nie mogę nic takiego znaleźć
Na tym liveboxie przekierowałem port 1723 do ip 192.168.1.14 i nadal nie działa

24

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Okej zmieniłem IP do PPTP na 192.168.1.14 i już łączy pod liveboxem
Jak teraz zrobić żeby z innego internetu mieć to połączenie ?

25

Odp: Serwer Open VPN na TP-LINK TL-WR740N

Jeżeli faktycznie to odblokowałeś/przekierowałeś - nic, po prostu podłącz się innej sieci to po ip które masz na liveboxie (publicznym!)

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.