Wednesday, January 15, 2014

PPTP in Linux -cannot port forward, certain website not working

Having problem with VPN in Linux? Ubuntu, Debian, etc?

These two should help with your problem!

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
or
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-sav

add NAT rule to your iptables. sweet.

and...

Ooops some website can't work on your vpn? Easy. Just add this:
iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu




Source:
http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/mtu-issues.html


Windows 7 Replacement Driver for NEC Dot Matrix Printer (P2000)

Are you able to connect your old dot matrix printer from NEC (P2000) or any other brands, but cannot find suitable drivers, try this native windows 7 printer driver.

Add a printer normally (Add local printer), select the port (usually a  virtual USB port).

For printer, select Generic manufacturer and add Generic/Text Only printer.

Check all the setting and preferences to make sure you are setting the correct paper size & type (tractor feed or manual feed).

You should be able to print without changing any other setting if the USB-Parallel cable is recognised and supported by Windows 7 without error.


Update: For NEC Pinwriter P2000, you can try this compatible driver Epson LQ Series 1(80) in Windows 7.