OpenVPN to access restriced pages


HOME » Unix

I am looking for a method to go out with different ip in
order to access some sites that are blocked by my local provider(I
need to write scripts to retrieve data from thos pages).On
Windows I have proxyes, but now migrating to Ubuntu due to
better workinng with ipython notebooks for a specific kernel I
need to do the same.
Hoewer I am interested if cand I do this with open source things
and not to depend on proxyes located in other locations.
As I understand doing some research on the web there is a
possibility with open vpn that if I understand correct allows to
make this trick with private network inside wan network and ssh
tunneling but my knowledge in this domain is very poor .Could
this community help me with this issue?Tnks!

The situation:
I have a number of OpenWRT based routers out
there (OpenWRT is a LINUX distro for embedded devices), which I manage
via a Ubuntu 8.04 LINUX server they all connect to. The Ubuntu server
has a public IP address (1.2.3.4 in the attached diagrams), the
routers do not. To be able to connect to them the Ubuntu server is
running an OpenVPN server, the routers connect to the server on
start-up as openvpn clients. I can ping and ssh into the routers from
my server - no problem.
What I want to achieve:
The routers
have a web GUI which is accessed via normal http or https (don't mind
too much). I would like to connect remotely to the routers' web
interface
Ubuntu
My Totem video player will not play many video files.
It says I
need codecs for them, like for .mpg and .wmv files.
Will the
Ubuntu 'Restricted Extra' package fix my problem and if so, how do I
install it?
Ubuntu

I have a website and we recently changed content management
systems. With the new system came new URLs/hierarchy. Google Webmaster
Tools doesn't have any issues with the site and I get no crawler
errors. But AdSense seems to still be looking for URLs on my old site
and I get tons of "Page not found" errors.



What can be done to get Adsense to crawl the new sitemap?



This is on the crawler errors page. It says "Blocked URLs" and then
to the side of the URL it lists "Page not found."



It explains: "Our crawler was unable to access the pages listed in
the ’Blocked URLs’ column to determine the content and display
ads. Click the ’plus’ icon beside each domain to see an expanded
list of affected URLs. When our crawler can’t access your content we
won’t show ads, resulting in lower revenue and coverage. Follow the
link in the ’Error’ column to learn how to correct these
errors."



I just want it to forget these pages exist, because they don't
anymore.

Webmasters

I was recently assigned a task to do set up a secure development
environment. I am thinking of doing the following:




  1. Use OpenVPN to connect to the server.

  2. Use firewall rules to block all incoming connections outside the
    local network

  3. Services will include SHH, HTTP/HTTPS and git



Is this possible?



UPDATE: I guess the more appropriate question is how to
block access outside the local network.

Ubuntu

good day all



note: I had a look at this href="http://serverfault.com/questions/714574/forward-ssh-to-openvpn-client-via-ufw">relevant
link but it does not seem applicable since I am not forwarding my
ssh, maybe between interfaces but that is already done



I have a remote VPS Server, its purpose mainly as a easy access
point for all my/colleagues devices, i.e. my home server, mobile,
laptop,desktop,etc.



My openvpn server has client-to-client and
ccd options configured working perfectly.



SSH'ing into another device by its given IP works perfectly,
e.g.



../../.openvpn/ccd/

android-phone
ifconfig-push 10.0.0.34 10.0.0.33

windows-laptop
ifconfig-push 10.0.0.30 10.0.0.29


if both devices are connected, then in my android terminal,



ssh user@10.0.0.30


I can access my laptop perfectly, no issues, but whilst is my
server terminal, server meaning OpenVPN server



ssh user@10.0.0.29
ssh user@10.0.0.30
ssh 10.0.0.29
ssh 10.0.0.30


all yield this error



ssh: connect to host 10.0.0.29 port 22: Connection timed
out


my iptables as follows



iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp
dpt:ftp-data /* FTP-Data IN (iface:ALL) */ state
NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
dpt:ftp /* FTP-Ctrl IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
dpt:ssh /* SSH IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
dpt:smtp /* SMTP IN (iface:ALL) */ state ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
dpt:whois /* Whois IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere udp
spt:domain /* DNS IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
spt:http /* HTTP IN {NER}(iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
spt:https /* HTTPS IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
dpt:https /* HTTPS IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere udp
dpt:ntp /* NTP/OPENVPN IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp
dpt:9800 /* TRANSMISSION IN (iface:ALL) */ state
NEW,RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere /* Ping
Request/Reply IN (iface:ALL) */ state NEW,RELATED,ESTABLISHED

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere /* Ping
Request/Reply OUT (iface:ALL) */


and NAT table



iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 10.0.0.0/24 anywhere
to:{openvpn-server}
MASQUERADE all -- 10.0.0.0/24 anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


and lastly, routing



netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
10.0.0.2 * 255.255.255.255 UH 0 0
0 tun0
10.0.0.0 10.0.0.2 255.255.255.0 UG 0 0
0 tun0
default * 0.0.0.0 U 0 0
0 venet0


anyone have any suggestions?

Network & Servers

I am looking for a method to go out with different ip in
order to access some sites that are blocked by my local provider(I
need to write scripts to retrieve data from thos pages).On
Windows I have proxyes, but now migrating to Ubuntu due to
better workinng with ipython notebooks for a specific kernel I
need to do the same.
Hoewer I am interested if cand I do this with open source things
and not to depend on proxyes located in other locations.
As I understand doing some research on the web there is a
possibility with open vpn that if I understand correct allows to
make this trick with private network inside wan network and ssh
tunneling but my knowledge in this domain is very poor .Could
this community help me with this issue?Tnks!

Unix

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow